mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 00:45:17 -06:00
init lsp config
This commit is contained in:
parent
4b7dd9144c
commit
bfc22a1979
4 changed files with 71 additions and 25 deletions
46
flake.nix
46
flake.nix
|
|
@ -60,32 +60,32 @@
|
|||
EOF
|
||||
'';
|
||||
packages.plugins = with pkgs.vimPlugins; {
|
||||
start = plugins.base ++ plugins.extra ++ plugins.treesitter;
|
||||
start = plugins.base ++ plugins.extra;
|
||||
};
|
||||
};
|
||||
});
|
||||
packages.minimal = pkgs.wrapNeovim neovim-with-deps (base // {
|
||||
extraMakeWrapperArgs = ''--prefix PATH : "${pkgs.lib.makeBinPath dependancies}"'';
|
||||
configure = {
|
||||
customRC =
|
||||
''
|
||||
lua << EOF
|
||||
package.path = "${self}/config/?.lua;" .. "${self}/config/lua/?.lua;" .. package.path
|
||||
vim.o.runtimepath = "${self}/config," .. vim.o.runtimepath
|
||||
''
|
||||
+ pkgs.lib.readFile ./config/minimal-init.lua
|
||||
+ ''
|
||||
EOF
|
||||
'';
|
||||
packages.plugins = with pkgs.vimPlugins; {
|
||||
start = plugins.base;
|
||||
packages.minimal = pkgs.wrapNeovim neovim-with-deps (base // {
|
||||
extraMakeWrapperArgs = ''--prefix PATH : "${pkgs.lib.makeBinPath dependancies}"'';
|
||||
configure = {
|
||||
customRC =
|
||||
''
|
||||
lua << EOF
|
||||
package.path = "${self}/config/?.lua;" .. "${self}/config/lua/?.lua;" .. package.path
|
||||
vim.o.runtimepath = "${self}/config," .. vim.o.runtimepath
|
||||
''
|
||||
+ pkgs.lib.readFile ./config/minimal-init.lua
|
||||
+ ''
|
||||
EOF
|
||||
'';
|
||||
packages.plugins = with pkgs.vimPlugins; {
|
||||
start = plugins.base;
|
||||
};
|
||||
};
|
||||
});
|
||||
apps.full = flake-utils.lib.mkApp {
|
||||
drv = packages.full; name = "neovim"; exePath = "/bin/nvim";
|
||||
};
|
||||
apps.default = apps.full;
|
||||
packages.default = packages.full;
|
||||
});
|
||||
apps.full = flake-utils.lib.mkApp {
|
||||
drv = packages.full; name = "neovim"; exePath = "/bin/nvim";
|
||||
};
|
||||
apps.default = apps.full;
|
||||
packages.default = packages.full;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue