added zig lsp.
This commit is contained in:
parent
a08109dc84
commit
3ac448bfa9
4 changed files with 29 additions and 4 deletions
17
modules/home-manager/nvim/lsp/zig.nix
Normal file
17
modules/home-manager/nvim/lsp/zig.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
config = lib.mkIf (config.user.nvim.enable-lsp && config.user.nvim.enable) {
|
||||
programs.nixvim = {
|
||||
plugins.lsp.servers.zls = {
|
||||
enable = true;
|
||||
settings = {
|
||||
enable_build_on_save = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue