Skip to content

Commit

Permalink
[neovim] Replace go formatter (gofmt -> golines)
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Jan 18, 2025
1 parent 170265a commit 656f385
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions home/neovim/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
extraLuaConfig = builtins.readFile ./extra-config.lua;
extraPackages = [
pkgs.bash-language-server
pkgs.golines
pkgs.gopls
pkgs.lua-language-server
pkgs.nixd
Expand Down
2 changes: 1 addition & 1 deletion home/neovim/plugins/conform/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require("conform").setup({
lsp_format = "fallback",
},
formatters_by_ft = {
go = { "gofmt" },
go = { "golines" },
lua = { "stylua" },
nix = { "nixfmt" },
terraform = { "terraform_fmt" },
Expand Down

0 comments on commit 656f385

Please sign in to comment.