Skip to content

Commit

Permalink
fix(nvim): more clear assignments
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikaverpil committed Dec 21, 2024
1 parent dc6b4c3 commit 6e9781e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nvim-fredrik/lua/fredrik/lang/go.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ local function golangcilint_args()
if #found == 1 then
local filepath = found[1]
golangci_config_file = filepath
return "--config", filepath
return "--config", golangci_config_file
else
local filepath = vim.fn.expand("$DOTFILES/templates/.golangci.yml")
golangci_config_file = filepath
return "--config", "/Users/fredrik/.dotfiles/templates/.golangci.yml"
return "--config", golangci_config_file
end
end,

Expand Down

0 comments on commit 6e9781e

Please sign in to comment.