mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-31 17:20:53 +02:00
Added go dev env
This commit is contained in:
parent
03a942ff9d
commit
35a1ae8b32
1 changed files with 10 additions and 1 deletions
|
@ -54,6 +54,15 @@ with lib;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
go = {
|
||||||
|
command = "gopls";
|
||||||
|
rootPatterns = [ "go.work" "go.mod" ".vim/" ".git/" ".hg/" ];
|
||||||
|
filetypes = [ "go" ];
|
||||||
|
initializationOptions = {
|
||||||
|
usePlaceholders = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
command = "nil";
|
command = "nil";
|
||||||
filetypes = [ "nix" ];
|
filetypes = [ "nix" ];
|
||||||
|
@ -117,7 +126,7 @@ with lib;
|
||||||
rust-vim
|
rust-vim
|
||||||
];
|
];
|
||||||
|
|
||||||
extraPackages = with pkgs; [ rust-analyzer pkgs.unstable.nil pyright nixpkgs-fmt ormolu ccls ];
|
extraPackages = with pkgs; [ rust-analyzer pkgs.unstable.nil pyright nixpkgs-fmt ormolu ccls gopls ];
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
luafile ${./settings.lua}
|
luafile ${./settings.lua}
|
||||||
|
|
Loading…
Add table
Reference in a new issue