From d59384595933ae019b96fa4f5702fc33e81d3e7e Mon Sep 17 00:00:00 2001 From: Maciej Lebiest Date: Tue, 20 Aug 2024 11:29:14 +0200 Subject: [PATCH] disable additional hl --- lua/plugins/nvim-lint.lua | 6 +++--- lua/plugins/treesitter.lua | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lua/plugins/nvim-lint.lua b/lua/plugins/nvim-lint.lua index f611fec..68e74c2 100644 --- a/lua/plugins/nvim-lint.lua +++ b/lua/plugins/nvim-lint.lua @@ -27,9 +27,9 @@ return { --} vim.api.nvim_create_autocmd({ "BufWritePost" }, { - callback = function() - require("lint").try_lint() - end, + callback = function() + require("lint").try_lint() + end, }) vim.api.nvim_create_autocmd({ "BufEnter" }, { diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 0f378aa..e9247cf 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -48,7 +48,7 @@ return function() -- Set this to `true` if you depend on 'syntax' being enabled (like for indentation). -- Using this option may slow down your editor, and you may see some duplicate highlights. -- Instead of true it can also be a list of languages - additional_vim_regex_highlighting = true, -- default=false + additional_vim_regex_highlighting = false, -- default=false }, } end