about summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hm/soispha/conf/nvim/files/default.nix4
-rw-r--r--hm/soispha/conf/nvim/files/ftplugin/tex.lua20
-rw-r--r--hm/soispha/conf/nvim/plgs/treesitter/default.nix3
-rw-r--r--hm/soispha/conf/nvim/plgs/vim-tex/default.nix7
4 files changed, 3 insertions, 31 deletions
diff --git a/hm/soispha/conf/nvim/files/default.nix b/hm/soispha/conf/nvim/files/default.nix
index c44f45b0..38c00316 100644
--- a/hm/soispha/conf/nvim/files/default.nix
+++ b/hm/soispha/conf/nvim/files/default.nix
@@ -1,12 +1,8 @@
 {
   lib,
-  pkgs,
   ...
 }: {
   programs.nixvim = {
-    extraPlugins = [
-      pkgs.vimExtraPlugins.gruvbox
-    ];
     extraFiles = {
       "ftplugin/tex.lua" = ''
         ${lib.strings.fileContents ./ftplugin/tex.lua}
diff --git a/hm/soispha/conf/nvim/files/ftplugin/tex.lua b/hm/soispha/conf/nvim/files/ftplugin/tex.lua
index 8f39d7bb..9935e287 100644
--- a/hm/soispha/conf/nvim/files/ftplugin/tex.lua
+++ b/hm/soispha/conf/nvim/files/ftplugin/tex.lua
@@ -18,27 +18,7 @@
 -- );
 --
 --
--- Set non-treesitter colorscheme
-require("gruvbox").setup({
-  undercurl = true;
-  underline = true;
-  bold = true;
-  italic = { strings = true; comments = true; operators = false; folds = true; };
-  strikethrough = true;
-  invert_selection = false;
-  invert_signs = false;
-  invert_tabline = false;
-  invert_intend_guides = false;
-  inverse = true; -- invert background for search, diffs, statuslines and errors
-  contrast = "";  -- can be "hard", "soft" or empty string
-  palette_overrides = {};
-  overrides = {};
-  dim_inactive = false;
-  transparent_mode = false;
-})
-vim.cmd("colorscheme gruvbox")
 
-require("lualine").setup({ options = { theme = "gruvbox"; }; })
 
 -- Set tex specific telescope extension
 require("telescope").setup({
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"];