vim-SyntaxRange

This commit is contained in:
ManjaroOne666 2018-11-23 21:45:55 +00:00
parent 120aa4cf4a
commit 5b8a403732
1 changed files with 10 additions and 5 deletions

15
vimrc
View File

@ -339,6 +339,10 @@ let g:mta_filetypes = {
let g:gutentags_ctags_tagfile = '.tags' let g:gutentags_ctags_tagfile = '.tags'
let g:gutentags_ctags_exclude = ['package.json', 'Session.vim', 'package-lock.json', 'TODO.txt'] let g:gutentags_ctags_exclude = ['package.json', 'Session.vim', 'package-lock.json', 'TODO.txt']
"}}}
" #vim-javascript{{{
Plug 'pangloss/vim-javascript'
"}}} "}}}
" #vim-json{{{ " #vim-json{{{
" https://github.com/elzr/vim-json " https://github.com/elzr/vim-json
@ -410,6 +414,11 @@ let g:mta_filetypes = {
Plug 'tpope/vim-surround' 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 {{{ " #vim-vue {{{
" https://github.com/posva/vim-vue " https://github.com/posva/vim-vue
Plug 'posva/vim-vue' Plug 'posva/vim-vue'
@ -432,10 +441,6 @@ let g:mta_filetypes = {
let g:python_highlight_all = 1 let g:python_highlight_all = 1
"}}}
" #vim-javascript{{{
Plug 'pangloss/vim-javascript'
"}}} "}}}
" #vimwiki {{{ " #vimwiki {{{
" https://github.com/vimwiki/vimwiki " https://github.com/vimwiki/vimwiki
@ -658,7 +663,7 @@ function! <SID>SynStack()"{{{
if !exists('*synstack') if !exists('*synstack')
return return
endif 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 endfunc
nmap <space>pp :call <SID>SynStack()<CR> nmap <space>pp :call <SID>SynStack()<CR>
"}}} "}}}