From 694012dbd81ae7453e56bf2928b151d67e5857be Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Tue, 30 Apr 2024 08:08:54 +0300 Subject: [PATCH] neovim/init: override vim syntax highlighting with Treesitter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit see: «https://github.com/nvim-treesitter/nvim-treesitter/issues/2254» --- modules/neovim/init/basic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/neovim/init/basic.nix b/modules/neovim/init/basic.nix index e3af1e7..3c8f0b3 100644 --- a/modules/neovim/init/basic.nix +++ b/modules/neovim/init/basic.nix @@ -49,7 +49,7 @@ in { syntaxHighlighting = mkOption { type = bool; - default = true; + default = !config.vim.treesitter.highlight.enable; description = "Enable syntax highlighting"; };