summaryrefslogtreecommitdiffstats
path: root/.config/nvim/colors/colorscheme.vim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/colors/colorscheme.vim')
-rwxr-xr-x.config/nvim/colors/colorscheme.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/nvim/colors/colorscheme.vim b/.config/nvim/colors/colorscheme.vim
index 48df51c..e401231 100755
--- a/.config/nvim/colors/colorscheme.vim
+++ b/.config/nvim/colors/colorscheme.vim
@@ -209,3 +209,12 @@ sign define semshiError text=E> texthl=semshiErrorSign
hi VirtColumn cterm=NONE ctermbg=0 ctermfg=2
hi IndentBlankLineChar cterm=NONE ctermbg=0 ctermfg=15
+
+
+
+
+" Highlight docstrings as comments, not string.
+syn region pythonDocstring start=+^\s*[uU]\?[rR]\?"""+ end=+"""+ keepend excludenl contains=pythonEscape,@Spell,pythonDoctest,pythonDocTest2,pythonSpaceError
+syn region pythonDocstring start=+^\s*[uU]\?[rR]\?'''+ end=+'''+ keepend excludenl contains=pythonEscape,@Spell,pythonDoctest,pythonDocTest2,pythonSpaceError
+
+hi def link pythonDocstring pythonComment
remember that computers suck.