- fixed weird double lsp issue

- added better handling of potentially null angular version
This commit is contained in:
Long Nguyen
2025-06-18 08:02:54 -05:00
parent 1ff3a82855
commit 8db45e1893
2 changed files with 28 additions and 11 deletions
+4 -1
View File
@@ -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")