fixed python injections

This commit is contained in:
2024-06-06 01:30:40 -05:00
parent 486d276778
commit cbe3db74f4
2 changed files with 37 additions and 12 deletions
+3 -3
View File
@@ -398,9 +398,9 @@ function M.lsp_zero()
"svelte",
"angularls",
"tailwindcss",
"templ",
--"templ",
--"gopls",
--"htmx",
--"htmx",
})
lsp.configure("pyright", {
@@ -423,7 +423,7 @@ function M.lsp_zero()
filetypes = { "html", "htmldjango", "templ" },
})
lsp.on_attach(function(client, bufnr)
lsp.on_attach(function(client, _)
if client.name == "svelte" then
vim.api.nvim_create_autocmd("BufWritePost", {
pattern = { "*.js", "*.ts" },