You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started noticing that go snippets stopped working some time ago. vscode-go has moved the extension into the extension subdirectory: golang/vscode-go@690cf2e
This results in vim-vsnip not being able to find the package.json file since the subdirectory is not in vim's runtime path. All I needed to do was to add the new path to rtp.
An example lazy.nvim config:
{
"golang/vscode-go", -- For go snippets.config=function(plugin)
vim.opt.rtp:append(vim.fn.resolve(plugin.dir.."/extension"))
end,
},
The text was updated successfully, but these errors were encountered:
I started noticing that go snippets stopped working some time ago. vscode-go has moved the extension into the
extension
subdirectory: golang/vscode-go@690cf2eThis results in vim-vsnip not being able to find the
package.json
file since the subdirectory is not in vim's runtime path. All I needed to do was to add the new path to rtp.An example lazy.nvim config:
The text was updated successfully, but these errors were encountered: