aboutsummaryrefslogtreecommitdiffstats
path: root/hm/soispha/conf/nvim/plgs
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-11-08 15:28:37 +0100
committerSoispha <soispha@vhack.eu>2023-11-08 15:28:37 +0100
commit7a6266c9e21cd03eab31e2b45c6ed127790ee917 (patch)
treee572d33f7ee647172a0ddf714ebe1cb87fc15640 /hm/soispha/conf/nvim/plgs
parentfix(flake): Remove the pkgs from the devenv, which are already in nvim (diff)
downloadnixos-config-7a6266c9e21cd03eab31e2b45c6ed127790ee917.zip
fix(hm/conf/nvim/plgs/vim-tex): Use treesitter highlight
Diffstat (limited to '')
-rw-r--r--hm/soispha/conf/nvim/plgs/treesitter/default.nix3
-rw-r--r--hm/soispha/conf/nvim/plgs/vim-tex/default.nix7
2 files changed, 3 insertions, 7 deletions
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"];