aboutsummaryrefslogtreecommitdiffstats
path: root/hm/soispha/conf/nvim/files
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/files
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 'hm/soispha/conf/nvim/files')
-rw-r--r--hm/soispha/conf/nvim/files/default.nix4
-rw-r--r--hm/soispha/conf/nvim/files/ftplugin/tex.lua20
2 files changed, 0 insertions, 24 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({