diff --git a/vimrc b/vimrc index af9541e..def7bbb 100644 --- a/vimrc +++ b/vimrc @@ -339,6 +339,10 @@ let g:mta_filetypes = { let g:gutentags_ctags_tagfile = '.tags' let g:gutentags_ctags_exclude = ['package.json', 'Session.vim', 'package-lock.json', 'TODO.txt'] + "}}} +" #vim-javascript{{{ + Plug 'pangloss/vim-javascript' + "}}} " #vim-json{{{ " https://github.com/elzr/vim-json @@ -410,6 +414,11 @@ let g:mta_filetypes = { Plug 'tpope/vim-surround' "}}} +" #vim-SyntaxRange{{{ +" https://github.com/inkarkat/vim-SyntaxRange + Plug 'inkarkat/vim-SyntaxRange' + command! HiJinja call SyntaxRange#Include('{{', '}}', 'jinja', 'jinjaBraces') +"}}} " #vim-vue {{{ " https://github.com/posva/vim-vue Plug 'posva/vim-vue' @@ -432,10 +441,6 @@ let g:mta_filetypes = { let g:python_highlight_all = 1 - "}}} -" #vim-javascript{{{ - Plug 'pangloss/vim-javascript' - "}}} " #vimwiki {{{ " https://github.com/vimwiki/vimwiki @@ -658,7 +663,7 @@ function! SynStack()"{{{ if !exists('*synstack') return endif - echo map(synstack(line('.'), col('.')), 'synIDattr(v:val,"name")') ' -> ' . synIDattr(synIDtrans(synID(line('.'),col('.'),1)), 'name' ) + echo map(synstack(line('.'), col('.')), 'synIDattr(v:val,"name")') '-> ' . synIDattr(synIDtrans(synID(line('.'),col('.'),1)), 'name' ) endfunc nmap pp :call SynStack() "}}}