about summary refs log tree commit diff stats
path: root/modules/by-name/nv/nvim/plgs/treesitter/default.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-24 13:36:55 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-24 13:36:55 +0200
commit400f31f7b6a2f69d39cc913fcbb0bcc9427d68df (patch)
tree1bccb7e0806dfbdec41e8b1c5dda0a1661f2907f /modules/by-name/nv/nvim/plgs/treesitter/default.nix
parentmodules/nvim/plgs/flatten: Remove (diff)
downloadnixos-config-400f31f7b6a2f69d39cc913fcbb0bcc9427d68df.zip
modules/nvim/plgs/tree-sitter: Avoid extra syntex highlighting in latex
This slows the nvim client noticeably down and is only really needed for
vim-tex's math mapping, which I don't use.
Diffstat (limited to '')
-rw-r--r--modules/by-name/nv/nvim/plgs/treesitter/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/by-name/nv/nvim/plgs/treesitter/default.nix b/modules/by-name/nv/nvim/plgs/treesitter/default.nix
index c8b48cd1..ed1499f8 100644
--- a/modules/by-name/nv/nvim/plgs/treesitter/default.nix
+++ b/modules/by-name/nv/nvim/plgs/treesitter/default.nix
@@ -50,7 +50,7 @@ in {
           #  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
-          additionalVimRegexHighlighting = ["latex"];
+          additionalVimRegexHighlighting = [];
         };
 
         incrementalSelection = {