diff options
| author | seth <[email protected]> | 2024-04-09 19:49:37 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-04-09 19:49:37 -0400 |
| commit | 16a1126200932407f9f4562fba961b514a1c91d1 (patch) | |
| tree | 3ab1b6f1035436a644465757c38c17d7943cea11 /neovim.nix | |
| parent | 43dbb8549d0ecc6dd62a5fd5f9b63beacbfc487b (diff) | |
auto import all files, cleanup + add a few things
Diffstat (limited to 'neovim.nix')
| -rw-r--r-- | neovim.nix | 16 |
1 files changed, 6 insertions, 10 deletions
@@ -5,16 +5,12 @@ self: { }: let config = pkgs.vimUtils.buildVimPlugin { pname = "neovim-config"; - version = builtins.substring 0 8 self.rev or self.dirtyRev or "dirty"; + version = self.shortRev or self.dirtyShortRev or "unknown-dirty"; - src = null; - - dontUnpack = true; - - buildPhase = '' - mkdir -p lua - cp -r ${./config} lua/getchoo - ''; + src = lib.fileset.toSource { + root = ./config; + fileset = lib.fileset.gitTracked ./config; + }; }; plugins = with pkgs.vimPlugins; [ @@ -53,9 +49,9 @@ self: { plenary-nvim nvim-treesitter.withAllGrammars + nvim-treesitter-context nvim-ts-context-commentstring nvim-ts-autotag - vim-just trouble-nvim which-key-nvim |
