aboutsummaryrefslogtreecommitdiffhomepage
path: root/vim
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-08-12 12:27:46 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-08-12 12:27:46 +0800
commitca4e5d232c35709c185fa64dcea9cf93e2723ff6 (patch)
treee1a3adabddb6163114262fe40a0db831a8909b65 /vim
parent06a0203ac90f21506d6f994915e19a2bdd82f50b (diff)
Update
Diffstat (limited to 'vim')
-rw-r--r--vim/mini.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/mini.lua b/vim/mini.lua
index 1ca1d26..799f638 100644
--- a/vim/mini.lua
+++ b/vim/mini.lua
@@ -1212,6 +1212,10 @@ require("lazy").setup({
1212 map(0, "n", "go", "<cmd>Lspsaga show_line_diagnostics<cr>", {silent = true, noremap = true}) 1212 map(0, "n", "go", "<cmd>Lspsaga show_line_diagnostics<cr>", {silent = true, noremap = true})
1213 map(0, "n", "gj", "<cmd>Lspsaga diagnostic_jump_next<cr>", {silent = true, noremap = true}) 1213 map(0, "n", "gj", "<cmd>Lspsaga diagnostic_jump_next<cr>", {silent = true, noremap = true})
1214 map(0, "n", "gk", "<cmd>Lspsaga diagnostic_jump_prev<cr>", {silent = true, noremap = true}) 1214 map(0, "n", "gk", "<cmd>Lspsaga diagnostic_jump_prev<cr>", {silent = true, noremap = true})
1215
1216 -- Don't know why... Everytime when modeline is set and insert a single char
1217 -- while inside a fold, the fold closes.
1218 vim.opt_local.modeline = false
1215 end, 1219 end,
1216 }) 1220 })
1217 end 1221 end