]> git.rmz.io Git - dotfiles.git/commit
nvim: use nvim-origami for folds
authorSamir Benmendil <me@rmz.io>
Sat, 13 Dec 2025 15:34:53 +0000 (15:34 +0000)
committerSamir Benmendil <me@rmz.io>
Sat, 13 Dec 2025 15:34:53 +0000 (15:34 +0000)
commit8989ff1e17ac528e13a64614b669be3fb03b2435
tree54a59ad94d096209dd00eea74ebcd15d4aa2667e
parentf534f49902f86d157292b5a2ba740c4d7f079741
nvim: use nvim-origami for folds

It supports syntax highlighting of the folded first line and adds
virtual text to show the line numbers and diagnostics.

There's some settings that needed disabling though. I'd also like to
place the virtual text on the right. So maybe I'll want to roll my own
at some point.
nvim/lazy-lock.json
nvim/lua/config/options.lua
nvim/lua/plugins/editor.lua
nvim/lua/rmz/util/init.lua
vim/ftplugin/cpp.vim