diff --git a/home/modules/tui/neovim/plugins/default.nix b/home/modules/tui/neovim/plugins/default.nix index 8e9d8d2..8339ce9 100644 --- a/home/modules/tui/neovim/plugins/default.nix +++ b/home/modules/tui/neovim/plugins/default.nix @@ -3,12 +3,14 @@ ./barbar.nix ./comment.nix ./floaterm.nix + ./gitsigns.nix ./harpoon.nix ./lsp.nix ./md-preview.nix ./neo-tree.nix ./telescope.nix ./treesitter.nix + ./trim.nix ]; programs.nixvim = { @@ -17,36 +19,12 @@ plugins = { web-devicons.enable = true; - gitsigns = { - enable = true; - settings.signs = { - add.text = "+"; - change.text = "~"; - delete.text = "-"; - }; - }; - nvim-autopairs.enable = true; nvim-colorizer = { enable = true; userDefaultOptions.names = false; }; - - trim = { - enable = true; - settings = { - highlight = false; - trim_last_line = false; - ft_blocklist = [ - "checkhealth" - "floaterm" - "lsipinfo" - "neo-tree" - "TelescopePrompt" - ]; - }; - }; }; }; } diff --git a/home/modules/tui/neovim/plugins/gitsigns.nix b/home/modules/tui/neovim/plugins/gitsigns.nix new file mode 100644 index 0000000..26a91c6 --- /dev/null +++ b/home/modules/tui/neovim/plugins/gitsigns.nix @@ -0,0 +1,11 @@ +{ + programs.nixvim.plugins.gitsigns = { + enable = true; + settings.signs = { + add.text = "+"; + change.text = "~"; + delete.text = "-"; + }; + }; +} + diff --git a/home/modules/tui/neovim/plugins/trim.nix b/home/modules/tui/neovim/plugins/trim.nix new file mode 100644 index 0000000..3e99dd9 --- /dev/null +++ b/home/modules/tui/neovim/plugins/trim.nix @@ -0,0 +1,16 @@ +{ + programs.nixvim.plugins.trim = { + enable = true; + settings = { + highlight = false; + trim_last_line = false; + ft_blocklist = [ + "checkhealth" + "floaterm" + "lsipinfo" + "neo-tree" + "TelescopePrompt" + ]; + }; + }; +}