about summary refs log tree commit diff stats
path: root/home-manager/soispha/config/neovim/nixvim/files/ftplugin/tex.lua
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/soispha/config/neovim/nixvim/files/ftplugin/tex.lua')
-rw-r--r--home-manager/soispha/config/neovim/nixvim/files/ftplugin/tex.lua51
1 files changed, 51 insertions, 0 deletions
diff --git a/home-manager/soispha/config/neovim/nixvim/files/ftplugin/tex.lua b/home-manager/soispha/config/neovim/nixvim/files/ftplugin/tex.lua
new file mode 100644
index 00000000..926866a7
--- /dev/null
+++ b/home-manager/soispha/config/neovim/nixvim/files/ftplugin/tex.lua
@@ -0,0 +1,51 @@
+-- local used = false;
+-- vim.keymap.set('n', '<leader>t', function()
+--     used = not used;
+--     if used then
+--         require('nvim-treesitter.configs').setup {
+--             highlight = {
+--                 additional_vim_regex_highlighting = { "latex", "markdown" },
+--             },
+--         }
+--     else
+--         require('nvim-treesitter.configs').setup {
+--             highlight = {
+--                 additional_vim_regex_highlighting = { "" },
+--             },
+--         }
+--     end
+-- end
+-- );
+--
+--
+
+
+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',
+    },
+}