diff options
Diffstat (limited to '.config/nvim/after')
-rwxr-xr-x | .config/nvim/after/ftplugin/python.lua | 8 | ||||
-rwxr-xr-x | .config/nvim/after/queries/python/highlights.scm | 3 |
2 files changed, 5 insertions, 6 deletions
diff --git a/.config/nvim/after/ftplugin/python.lua b/.config/nvim/after/ftplugin/python.lua index 64eb9f0..8fa85a6 100755 --- a/.config/nvim/after/ftplugin/python.lua +++ b/.config/nvim/after/ftplugin/python.lua @@ -1,5 +1,7 @@ o.colorcolumn = '80' -require"nvim-treesitter.highlight".set_custom_captures { - ["docstring"] = "Comment", -} +-- require('nvim-treesitter.highlight').set_custom_captures { +-- ['docstring'] = 'Comment', +-- } + +vim.api.nvim_set_hl(0, '@docstring', { link = 'Comment' }) diff --git a/.config/nvim/after/queries/python/highlights.scm b/.config/nvim/after/queries/python/highlights.scm deleted file mode 100755 index 4b664d4..0000000 --- a/.config/nvim/after/queries/python/highlights.scm +++ /dev/null @@ -1,3 +0,0 @@ -(block (expression_statement (string)) @docstring) - -(type) @type |