From 23e2bfd987c430bb41bc7860c46c2f572e9e2db4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 14 Jan 2023 14:47:33 +0100 Subject: Sat Jan 14 02:47:33 PM CET 2023 --- .config/nvim/after/ftplugin/python.lua | 8 +++++--- .config/nvim/after/queries/python/highlights.scm | 3 --- 2 files changed, 5 insertions(+), 6 deletions(-) delete mode 100755 .config/nvim/after/queries/python/highlights.scm (limited to '.config/nvim/after') 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 -- cgit v1.2.3