Created
March 25, 2017 08:35
-
-
Save thinca/9a0d8d1a91d0b5396ab15a632c34e03f to your computer and use it in GitHub Desktop.
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
nnoremap <silent> <Plug>(vimrc-show-current-syntax) | |
\ :<C-u>echo join(map(synstack(line('.'), col('.')), | |
\ 'synIDattr(v:val, "name") | |
\ ."(".synIDattr(synIDtrans(v:val), "name").")"'), ',')<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment