Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (8 sloc) 244 Bytes
" Show syntax highlighting groups for word under cursor
nmap <C-S-P> :call <SID>SynStack()<CR>
function! <SID>SynStack()
if !exists("*synstack")
return
endif
echo map(synstack(line('.'), col('.')), 'synIDattr(v:val, "name")')
endfunc
Something went wrong with that request. Please try again.