From 2e7e1ce219b43bb74f67875200dd4b68758ffd27 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 16 Jul 2024 19:04:27 -0400 Subject: back to nixvim again --- neovim.nix | 116 ------------------------------------------------------------- 1 file changed, 116 deletions(-) delete mode 100644 neovim.nix (limited to 'neovim.nix') diff --git a/neovim.nix b/neovim.nix deleted file mode 100644 index 41e639a..0000000 --- a/neovim.nix +++ /dev/null @@ -1,116 +0,0 @@ -{ - lib, - neovimUtils, - vimUtils, - vimPlugins, - wrapNeovimUnstable, - neovim-unwrapped, - actionlint, - glow, - ripgrep, - nil, - nixfmt-rfc-style, - nodePackages, - shellcheck, - shfmt, - statix, - typos-lsp, - version, -}: -let - fs = lib.fileset; - vimPlugins-getchoo-nvim = vimUtils.buildVimPlugin { - pname = "getchoo-neovim-config"; - inherit version; - - src = fs.toSource { - root = ./.; - fileset = fs.intersection (fs.gitTracked ./.) ( - fs.unions [ - ./after - ./ftdetect - ./lua - ./plugin - ] - ); - }; - }; - - plugins = with vimPlugins; [ - vimPlugins-getchoo-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 - - # ui - bufferline-nvim # dependent on > - nvim-web-devicons - - catppuccin-nvim - indent-blankline-nvim - lualine-nvim - - # lsp - fidget-nvim - nvim-lspconfig - lsp-format-nvim - trouble-nvim - ]; - - extraPackages = [ - glow # glow.nvim - - ripgrep # cmp - - # lsp - nodePackages.bash-language-server - shellcheck - shfmt - - nil - nixfmt-rfc-style - - typos-lsp - - ## linters - nodePackages.alex - actionlint - statix - ]; - - baseConfig = neovimUtils.makeNeovimConfig { - withRuby = false; - inherit plugins; - }; - - config = baseConfig // { - luaRcContent = "require('getchoo')"; - wrapperArgs = baseConfig.wrapperArgs ++ [ - "--suffix" - "PATH" - ":" - "${lib.makeBinPath extraPackages}" - ]; - }; -in -wrapNeovimUnstable neovim-unwrapped config -- cgit v1.2.3