From 5b8a403732493b231871c13dc32bc59d17264201 Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Fri, 23 Nov 2018 21:45:55 +0000 Subject: [PATCH] vim-SyntaxRange --- vimrc | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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() "}}}