diff options
Diffstat (limited to '.config/nvim/my/after/syntax/python.vim')
| -rw-r--r-- | .config/nvim/my/after/syntax/python.vim | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.config/nvim/my/after/syntax/python.vim b/.config/nvim/my/after/syntax/python.vim new file mode 100644 index 0000000..834ab1f --- /dev/null +++ b/.config/nvim/my/after/syntax/python.vim @@ -0,0 +1,19 @@ +scriptencoding utf-8 + + +if exists("b:current_syntax_my_python") + finish +endif + +if b:current_syntax !=# 'python' + finish +endif + + + +" Highlight "self". +syn keyword pythonSelf self +hi default link pythonSelf Identifier + + +let b:current_syntax_my_python = 1 |
