Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ This can be helpfull both developing syntax files, and for determining what some
Recommended use with a mapping such as:

map -a :call SyntaxAttr()<CR>

If you want to copy the syntax information into register "a" for using in your own syntax files or colorschemes, you could map as follows:

noremap <S-C-M-F12> :let @a = SyntaxAttr()<CR>
2 changes: 2 additions & 0 deletions plugin/SyntaxAttr.vim
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,6 @@ function! SyntaxAttr()
endif
echo message
echohl None

return message
endfunction