clean config & rm un-needed pcalls
This commit is contained in:
parent
ff93c22e63
commit
2b94bb92e0
9 changed files with 27 additions and 131 deletions
|
|
@ -1,9 +1,3 @@
|
|||
local present, lspconfig = pcall(require, "lspconfig")
|
||||
|
||||
if not present then
|
||||
return
|
||||
end
|
||||
|
||||
loadfile(vim.g.base46_cache .. "lsp")()
|
||||
require "nvchad_ui.lsp"
|
||||
|
||||
|
|
@ -43,7 +37,7 @@ M.capabilities.textDocument.completion.completionItem = {
|
|||
},
|
||||
}
|
||||
|
||||
lspconfig.sumneko_lua.setup {
|
||||
require("lspconfig").sumneko_lua.setup {
|
||||
on_attach = M.on_attach,
|
||||
capabilities = M.capabilities,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue