diff options
Diffstat (limited to 'home-manager/soispha/config/neovim/nixvim/files')
-rw-r--r-- | home-manager/soispha/config/neovim/nixvim/files/default.nix | 10 | ||||
-rw-r--r-- | home-manager/soispha/config/neovim/nixvim/files/ftplugin/tex.lua | 51 |
2 files changed, 61 insertions, 0 deletions
diff --git a/home-manager/soispha/config/neovim/nixvim/files/default.nix b/home-manager/soispha/config/neovim/nixvim/files/default.nix new file mode 100644 index 00000000..f8445563 --- /dev/null +++ b/home-manager/soispha/config/neovim/nixvim/files/default.nix @@ -0,0 +1,10 @@ +{lib, ...}: { + programs.nixvim = { + extraFiles = { + path = "ftplugin/tex.lua"; + content = '' + ${lib.strings.fileContents ./ftplugin/tex.lua} + ''; + }; + }; +} 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', + }, +} |