fix: address shortcomings of vue setup

This commit is contained in:
Stevan Freeborn
2026-07-31 04:41:21 -05:00
parent 992c7fe4f1
commit 89154019a1
2 changed files with 66 additions and 55 deletions
+7 -1
View File
@@ -15,6 +15,12 @@ return {
},
})
vim.keymap.set("n", "<leader>gf", vim.lsp.buf.format, { desc = "Format" })
vim.keymap.set("n", "<leader>gf", function()
vim.lsp.buf.format({
filter = function(client)
return client.name ~= "vue_ls"
end,
})
end, { desc = "Format" })
end,
}