X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fvim%2Ffiles%2Fvimrc;h=bae66ff1f8414f9d8016e6c61498aa700d317dc2;hb=b143ed02b339cee90faa58d51be1124d38e37ea4;hp=5980b6453bacbca1feaadffd4c8ce7a862da015e;hpb=ebac12bc2e2989f5afa909ba38ae95a694bb6b9e;p=max%2Fsaltfiles.git diff --git a/states/vim/files/vimrc b/states/vim/files/vimrc index 5980b64..bae66ff 100644 --- a/states/vim/files/vimrc +++ b/states/vim/files/vimrc @@ -39,6 +39,7 @@ Plugin 'nvie/vim-rst-tables' Plugin 'lepture/vim-jinja' Plugin 'aklt/plantuml-syntax' Plugin 'psf/black' +Plugin 'vim-python/python-syntax' " All of your Plugins must be added before the following line call vundle#end() " required @@ -130,3 +131,16 @@ let g:rst_prefer_python_version = 2 " Set linelength for python let g:black_linelength = 80 + +" Python syntax highlighting +let g:python_highlight_builtins = 1 +let g:python_highlight_builtin_objs = 1 +let g:python_highlight_builtin_types = 1 +let g:python_highlight_builtin_funcs = 1 +let g:python_highlight_builtin_kwarg = 1 +let g:python_highlight_exceptions = 1 +let g:python_highlight_string_formatting = 1 +let g:python_highlight_string_format = 1 +let g:python_highlight_string_templates = 1 +let g:python_highlight_class_vars = 1 +let g:python_highlight_operators = 1