mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-01 22:49:41 +00:00
nvim: use nvim-origami instead of nvim-ufo
This commit is contained in:
parent
bc5fbf0d0c
commit
a43ebd9b19
4 changed files with 4 additions and 48 deletions
|
|
@ -42,11 +42,11 @@ local plugins = {
|
|||
config = function() require("leap").add_default_mappings() end,
|
||||
},
|
||||
|
||||
-- TODO: find a simpler alternative
|
||||
-- Folding
|
||||
{
|
||||
"kevinhwang91/nvim-ufo",
|
||||
dependencies = "kevinhwang91/promise-async",
|
||||
"chrisgrieser/nvim-origami",
|
||||
event = "VeryLazy",
|
||||
opts = {}, -- needed even when using default config
|
||||
},
|
||||
|
||||
-- -- Generate `.gitignore`
|
||||
|
|
|
|||
|
|
@ -27,11 +27,6 @@ vim.o.smartindent = true
|
|||
|
||||
vim.o.scrolloff = 3
|
||||
|
||||
-- for UFO
|
||||
vim.o.foldlevel = 99
|
||||
vim.o.foldlevelstart = 99
|
||||
vim.o.foldenable = true
|
||||
|
||||
vim.o.showmode = false
|
||||
|
||||
vim.opt.listchars = { tab = "│ ", trail = "␣" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue