add go to lsp and update chatgpt.vim
This commit is contained in:
parent
bd4503c035
commit
35ad68fbbe
2 changed files with 3 additions and 3 deletions
|
|
@ -5,8 +5,8 @@ self: super: {
|
|||
version = "1.0.0";
|
||||
src = super.fetchgit {
|
||||
url = "https://git.cloonar.com/Cloonar/chatgpt.vim.git";
|
||||
rev = "59540981edeebd7faf9894e2ba40cbe4fb02f31c";
|
||||
sha256 = "sha256-uBfdR8ezwrcPJeCs+hAnz0w7nE9N8rfqST/SuGlcoTs=";
|
||||
rev = "aa12bca3abc868b4ebacbd22b6fde83deb656869";
|
||||
sha256 = "sha256-eK7GQNHR03fQ7j2ExX9QSA+AIW5c1b8fsat3kbS6f9k=";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ local capabilities = vim.lsp.protocol.make_client_capabilities()
|
|||
capabilities.textDocument.completion.completionItem.snippetSupport = true
|
||||
capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities)
|
||||
|
||||
local servers = { 'ts_ls', 'lua', 'cssls', 'yamlls', 'intelephense' }
|
||||
local servers = { 'ts_ls', 'lua', 'cssls', 'yamlls', 'intelephense', 'gopls' }
|
||||
for _, lsp in pairs(servers) do
|
||||
require('lspconfig')[lsp].setup {
|
||||
-- on_attach = on_attach,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue