We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b1ff83 commit 5feae4aCopy full SHA for 5feae4a
lua/kickstart/plugins/language/go/go.lua
@@ -7,10 +7,11 @@ return {
7
'nvim-treesitter/nvim-treesitter',
8
},
9
build = function()
10
- if vim.fn.executable(':GoInstallDeps') then
+ if vim.bo.filetype == 'go' then
11
vim.cmd.GoInstallDeps()
12
else
13
- vim.notify('Gopher.nvim could not install dependencies, build again in a go file', vim.log.levels.WARN)
+ vim.notify('Gopher.nvim could not install dependencies, Try running GoInstallDeps in a go file',
14
+ vim.log.levels.WARN)
15
end
16
end,
17
opts = {},
0 commit comments