fix: address shortcomings of vue setup
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user