diff options
| author | seth <[email protected]> | 2024-10-29 22:37:49 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-10-30 02:37:49 +0000 |
| commit | 310fdf8de53d98ddd3a56936c131186e25814f0f (patch) | |
| tree | f4265ab11de2262bacb2498cdc4661420a2df278 /neovim.nix | |
| parent | 7ed0a2b87684eb32009944bd9eb8d7eaa9af0462 (diff) | |
use lz.n (#69)
* remove bufferline & some cmp sources
* factor things out of after/ folder
This is bad practice or something
* make sure ftdetect plugins aren't loaded multiple times
* use lz.n
* mini.pairs -> mini.surround
* flake: cleanup checks
* ftplugin: enforce spaces in nix files
Diffstat (limited to 'neovim.nix')
| -rw-r--r-- | neovim.nix | 69 |
1 files changed, 32 insertions, 37 deletions
@@ -1,82 +1,77 @@ { lib, - neovimUtils, - vimPlugins, - wrapNeovimUnstable, - neovim-unwrapped, actionlint, - getchoo-neovim-config, glow, + neovim-unwrapped, + neovimUtils, nil, nixfmt-rfc-style, nodePackages, - ripgrep, shellcheck, shfmt, statix, typos-lsp, - vim-tera, + vimPlugins, + wrapNeovimUnstable, + + getchoo-neovim-config, }: + let plugins = with vimPlugins; [ getchoo-neovim-config - # coding + # lazy loader + lz-n + + # Editing + flash-nvim + glow-nvim + mini-nvim + + nvim-treesitter.withAllGrammars + + # UI + catppuccin-nvim + indent-blankline-nvim + lualine-nvim + + # Coding nvim-cmp luasnip cmp-async-path cmp-buffer - cmp_luasnip cmp-nvim-lsp - cmp-rg crates-nvim gitsigns-nvim nvim-lint - - # editing - flash-nvim - glow-nvim - mini-nvim - telescope-nvim # dependent on > plenary-nvim - nvim-treesitter.withAllGrammars - - vim-tera - - # ui - bufferline-nvim # dependent on > - nvim-web-devicons - - catppuccin-nvim - indent-blankline-nvim - lualine-nvim - - # lsp + # LSP fidget-nvim - nvim-lspconfig lsp-format-nvim + nvim-lspconfig trouble-nvim ]; extraPackages = [ - glow # glow.nvim + # External programs + glow - ripgrep # cmp + # LSP + ## General + typos-lsp - # lsp + ## Language-specific nodePackages.bash-language-server shellcheck shfmt - nil nixfmt-rfc-style - typos-lsp - - ## linters + # Linters nodePackages.alex actionlint statix |
