Merge branch 'master' of github.com:roodletoof/neovim-config

This commit is contained in:
Ivar Fatland
2025-03-17 12:55:47 +01:00
+16
View File
@@ -278,6 +278,22 @@ require'lazy'.setup{ --{{{1
require'lspconfig'.lua_ls.setup{ require'lspconfig'.lua_ls.setup{
Lua = { runtime = { version = "LuaJIT" } } Lua = { runtime = { version = "LuaJIT" } }
} }
end,
gopls = function()
require'lspconfig'.gopls.setup{
settings = {
gopls = {
templateExtensions = {'html', 'gotmpl'}
},
},
filetypes = {
'go',
'gomod',
'gowork',
'gotmpl',
'html'
}
}
end end
} }