aboutsummaryrefslogtreecommitdiffhomepage
path: root/vim/lua/plugins
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-07-05 20:22:46 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-07-05 20:22:46 +0800
commit21780ca8e26bc1965665ac171165a05892164b0a (patch)
tree30957be94181a076bd9a5bd3e5bb10224fb2b75b /vim/lua/plugins
parent267ef4292cbcfd831871df260ec3167fa1224ed3 (diff)
Update
Diffstat (limited to 'vim/lua/plugins')
-rw-r--r--vim/lua/plugins/init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/lua/plugins/init.lua b/vim/lua/plugins/init.lua
index e2c7c58..e510475 100644
--- a/vim/lua/plugins/init.lua
+++ b/vim/lua/plugins/init.lua
@@ -35,6 +35,10 @@ return {
35 -- event = 'BufWritePre', -- uncomment for format on save 35 -- event = 'BufWritePre', -- uncomment for format on save
36 config = function() 36 config = function()
37 require "configs.conform" 37 require "configs.conform"
38
39 vim.keymap.set("n", "<leader>F", function()
40 require("conform").format { lsp_fallback = true }
41 end, { desc = "format files" })
38 end, 42 end,
39 }, 43 },
40 44