]> git.rmz.io Git - dotfiles.git/blobdiff - nvim/lua/config/options.lua
nvim: use nvim-origami for folds
[dotfiles.git] / nvim / lua / config / options.lua
index aeaca61d63544aa9a3cd28b6bc604a4d647ec73a..d960d6087d5a3f43b5aa89610bbf0ee65696bac7 100644 (file)
@@ -20,6 +20,9 @@ vim.diagnostic.config({ virtual_text = false })
 -- TODO: also try noinsert
 opt.completeopt = "menu,menuone,noselect"
 
 -- TODO: also try noinsert
 opt.completeopt = "menu,menuone,noselect"
 
+-- TODO: review clipboard providers
+-- :help provider-clipboard
+
 -- Some settings taken from LazyVim's default options
 opt.pumblend = 10 -- Popup blend
 opt.pumheight = 10 -- Maximum number of entries in a popup
 -- Some settings taken from LazyVim's default options
 opt.pumblend = 10 -- Popup blend
 opt.pumheight = 10 -- Maximum number of entries in a popup
@@ -28,8 +31,6 @@ opt.signcolumn = "yes" -- Always show the signcolumn, otherwise it would shift t
 opt.updatetime = 200 -- Save swap file and trigger CursorHold
 opt.splitkeep = "screen"
 opt.shortmess:append({ C = true })
 opt.updatetime = 200 -- Save swap file and trigger CursorHold
 opt.splitkeep = "screen"
 opt.shortmess:append({ C = true })
-opt.foldmethod = "expr"
-opt.foldexpr = "v:lua.require'rmz.util'.foldexpr()"
 
 -- do not let markdown plugin change indent
 vim.g.markdown_recommended_style = 0
 
 -- do not let markdown plugin change indent
 vim.g.markdown_recommended_style = 0