From 7a6266c9e21cd03eab31e2b45c6ed127790ee917 Mon Sep 17 00:00:00 2001 From: Soispha Date: Wed, 8 Nov 2023 15:28:37 +0100 Subject: fix(hm/conf/nvim/plgs/vim-tex): Use treesitter highlight --- hm/soispha/conf/nvim/plgs/treesitter/default.nix | 3 +-- hm/soispha/conf/nvim/plgs/vim-tex/default.nix | 7 ++----- 2 files changed, 3 insertions(+), 7 deletions(-) (limited to 'hm/soispha/conf/nvim/plgs') diff --git a/hm/soispha/conf/nvim/plgs/treesitter/default.nix b/hm/soispha/conf/nvim/plgs/treesitter/default.nix index 9d30d6b9..21a29cfb 100644 --- a/hm/soispha/conf/nvim/plgs/treesitter/default.nix +++ b/hm/soispha/conf/nvim/plgs/treesitter/default.nix @@ -8,8 +8,7 @@ # inject nixvim specific highlighting (eg in extraConfigLua). nixvimInjections = true; - # TODO: It would we wonderfull, if we could use treesitter in latex - disabledLanguages = ["latex"]; + disabledLanguages = []; /* # TODO: this is not supported by the nixVim modlue, nixNeovim supports this though .. diff --git a/hm/soispha/conf/nvim/plgs/vim-tex/default.nix b/hm/soispha/conf/nvim/plgs/vim-tex/default.nix index 9b5cea5e..2fae2106 100644 --- a/hm/soispha/conf/nvim/plgs/vim-tex/default.nix +++ b/hm/soispha/conf/nvim/plgs/vim-tex/default.nix @@ -2,9 +2,6 @@ programs.nixvim = { options.conceallevel = 0; - # globals.tex_conceal = "abdmg"; - # globals.tex_flavor = "latex"; - plugins.vimtex = { enable = true; extraConfig = { @@ -15,8 +12,8 @@ tex_flavor = "latex"; # Useful if treesitter is the highlighter - #syntax_enabled = 0; - #syntax_conceal_disable = 1; + syntax_enabled = 0; + syntax_conceal_disable = 1; mappings_disable = { n = ["tsf" "tsc" "tse" "ts$" "tsd" "tsD"]; -- cgit 1.4.1