added syntax-finding function for helping with colorscheme editing

This commit is contained in:
Nick Nisi
2012-10-30 11:43:05 -05:00
parent f6a980e6d4
commit b9ad32b1e9

View File

@@ -255,6 +255,14 @@ endfunction
nnoremap <leader>/ :call ToggleNuMode()<cr>
nmap <leader>s :call <SID>SynStack()<cr>
function <SID>SynStack()
if !exists("*synstack")
return
endif
echo map(synstack(line('.'), col('.')), 'synIDattr(v:val, "name")')
endfunction
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Plugins
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""