You've already forked dotfiles
fix: Adding back the nvim-lspconfig plugin for now to resolve some LSP
loading issues and decrease the amount of work of lifting from the remote repo to local.
This commit is contained in:
@@ -48,6 +48,18 @@ vim.api.nvim_create_autocmd('LspAttach', {
|
||||
end,
|
||||
})
|
||||
|
||||
vim.pack.add({
|
||||
'https://github.com/neovim/nvim-lspconfig'
|
||||
})
|
||||
|
||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||
|
||||
capabilities.textDocument.completion.completionItem.snippetSupport = true
|
||||
|
||||
vim.lsp.config('*', {
|
||||
capabilities = capabilities,
|
||||
})
|
||||
|
||||
-- Enable LSP engines
|
||||
local enabled_lsps = {
|
||||
'ansiblels',
|
||||
@@ -69,11 +81,3 @@ local enabled_lsps = {
|
||||
for _, lsp in pairs(enabled_lsps) do
|
||||
vim.lsp.enable(lsp)
|
||||
end
|
||||
|
||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||
|
||||
capabilities.textDocument.completion.completionItem.snippetSupport = true
|
||||
|
||||
vim.lsp.config('*', {
|
||||
capabilities = capabilities,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user