Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Show syntax highlighting attributes of character under cursor.
VimL
Branch: master
Pull request Compare This branch is even with vim-scripts:master.

Version 1.1: Initial upload

latest commit 8debed49d8
Gary Holloway authored vim-scripts committed
Failed to load latest commit information.
plugin Version 1.1: Initial upload
README Version 1.1: Initial upload

README

This is a mirror of http://www.vim.org/scripts/script.php?script_id=383

Displays the syntax highlighting attributes of the character under the cursor; including syntax group (and what it's linked to, if linked), foreground/background colors (name and numeric equivallent), bold, underline, etc.

Example output:

[WIth cursor on a function name in a vim script]
     group: vimUserFuncName guifg=DarkCyan(#008b8b) gui=bold

[With cursor on "function" keyword in vim script]
     group: vimFuncKey->Statement guifg=Brown(#a52a2a) gui=bold

[WIth cursor on "let" keyword in vim script]
     group: vimLet->Statement guifg=Brown(#a52a2a) gui=bold

This can be helpfull both developing syntax files, and for determining what something is (according to the syntax rules), since the group names used in syntax files are usually well-named.

Recommended use with a mapping such as:

  map -a	:call SyntaxAttr()<CR>
Something went wrong with that request. Please try again.