nixvim: add nvim-ufo for LSP/treesitter folding

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
2026-03-11 19:23:13 +09:00
co-authored by Claude Sonnet 4.6
parent 949abfde87
commit 28d9258344
3 changed files with 28 additions and 0 deletions
+4
View File
@@ -59,6 +59,10 @@ in {
(mk "<leader>gh" "<cmd>DiffviewFileHistory %<CR>" "ファイル履歴")
(mk "<leader>gq" "<cmd>DiffviewClose<CR>" "差分を閉じる")
# UFO (folding)
(mkRaw "zR" "require('ufo').openAllFolds" "全て展開")
(mkRaw "zM" "require('ufo').closeAllFolds" "全て折りたたむ")
# Dropbar
(mkRaw "<leader>dp" "function() require('dropbar.api').pick() end" "dropbarでナビゲート")