From 597da7bca524745c7d34382f7f090f7b39bd0652 Mon Sep 17 00:00:00 2001 From: marocchino Date: Tue, 5 Dec 2023 08:42:28 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=EF=B8=8F=20Update=20deprecated=20c?= =?UTF-8?q?ode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nvim/lua/treesitter-config.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nvim/lua/treesitter-config.lua b/nvim/lua/treesitter-config.lua index a1a0bcf..fa50827 100644 --- a/nvim/lua/treesitter-config.lua +++ b/nvim/lua/treesitter-config.lua @@ -1,3 +1,6 @@ +require("ts_context_commentstring").setup({ + enable_autocmd = false, +}) require("nvim-treesitter.configs").setup({ highlight = { enable = true, additional_vim_regex_highlighting = false }, indent = { enable = true }, @@ -7,7 +10,6 @@ require("nvim-treesitter.configs").setup({ max_file_lines = nil, }, auto_install = true, - context_commentstring = { enable = true, enable_autocmd = false }, -- ensure_installed = { -- "awk", -- "bash",