- fixed weird double lsp issue
- added better handling of potentially null angular version
This commit is contained in:
@@ -310,7 +310,6 @@ function M.nvim_treesitter()
|
||||
end
|
||||
|
||||
if vim.fn.filereadable(dst) == 1 then
|
||||
print("htmldjango.so is already installed")
|
||||
return
|
||||
end
|
||||
|
||||
@@ -514,6 +513,10 @@ function M.lsp_zero()
|
||||
-- https://github.com/VonHeikemen/lsp-zero.nvim
|
||||
--
|
||||
|
||||
-- running this before starting up mason
|
||||
-- somehow prevents duplicate language servers
|
||||
require("mason-lspconfig").setup()
|
||||
|
||||
local lsp = require("lsp-zero")
|
||||
lsp.preset("recommended")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user