I use F5:
" Show syntax highlighting groups for word under cursor
nmap <F5> :call <SID>SynStack()<CR>
function! <SID>SynStack()
if !exists("*synstack")
return
endif
echo map(synstack(line('.'), col('.')), 'synIDattr(v:val, "name")')
endfunc
On Mar 7, 3:57 pm, [email protected] wrote:
> Hi,
>
> is there a way to print out that informations which is responnsible for giving
> the symbol under the cursor its appearance in a way which enables me to
> directly find the according line in the current colorscheme to modify
> that line to my needs?
>
> Thank you very much in advance for any help!
>
> Best regards,
> mcc
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php