add utils.lsp_format function with disabled tsserver

This commit is contained in:
2022-06-08 10:28:10 +03:00
parent 95791a1632
commit 10fa205e34
3 changed files with 18 additions and 2 deletions

View File

@@ -116,7 +116,7 @@ vim.keymap.set("n", "<leader>ri", function()
u.lsp_organize_imports()
end)
vim.keymap.set("n", "<leader>rf", function()
vim.lsp.buf.format()
u.lsp_format()
end)
-- package-info