mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-26 13:50:51 +01: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 = {
|
||||
command = "nil";
|
||||
filetypes = [ "nix" ];
|
||||
|
@ -117,7 +126,7 @@ with lib;
|
|||
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 = ''
|
||||
luafile ${./settings.lua}
|
||||
|
|
Loading…
Add table
Reference in a new issue