Created
June 5, 2018 04:08
-
-
Save gzagatti/d0ceb1da3d62c320034232fbdd2c4b7b to your computer and use it in GitHub Desktop.
Figure out within which syntax group we are
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" from https://github.com/suy/vim-context-commentstring/blob/master/doc/context-commentstring.txt | |
echo map(synstack(line('.'), col('.')), 'synIDattr(v:val, "name")') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment