reformat all nix code
1 file changed, 17 insertions(+), 12 deletions(-)
changed files
M user/settings/development/golang.nix → user/settings/development/golang.nix
@@ -1,4 +1,5 @@ -{ pkgs, ... }: { +{ pkgs, ... }: +{ home.packages = with pkgs; [ go gopls@@ -26,17 +27,21 @@ gog = "go get"; gogu = "go get -u"; }; home.sessionVariables.GOTOOLCHAIN = "local"; # use installed go tools - programs.emacs.extraPackages = epkgs: (with epkgs; [ - go-eldoc - go-tag - templ-ts-mode - (treesit-grammars.with-grammars (grammars: with grammars; [ - tree-sitter-go - tree-sitter-gowork - tree-sitter-gomod - tree-sitter-templ - ])) - ]); + programs.emacs.extraPackages = + epkgs: + (with epkgs; [ + go-eldoc + go-tag + templ-ts-mode + (treesit-grammars.with-grammars ( + grammars: with grammars; [ + tree-sitter-go + tree-sitter-gowork + tree-sitter-gomod + tree-sitter-templ + ] + )) + ]); programs.nixvim.plugins.lsp.servers = { gopls.enable = true; golangci_lint_ls.enable = true;