feat: added folds and todos
This commit is contained in:
parent
807a15b5b3
commit
67df812bec
5 changed files with 37 additions and 1 deletions
13
lua/custom/plugins/nvim-origami.lua
Normal file
13
lua/custom/plugins/nvim-origami.lua
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
return {
|
||||
"chrisgrieser/nvim-origami",
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
foldKeymaps = { setup = false },
|
||||
}, -- needed even when using default config
|
||||
|
||||
-- recommended: disable vim's auto-folding
|
||||
init = function()
|
||||
vim.opt.foldlevel = 99
|
||||
vim.opt.foldlevelstart = 99
|
||||
end,
|
||||
}
|
||||
13
lua/custom/plugins/todo-comments.lua
Normal file
13
lua/custom/plugins/todo-comments.lua
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
return {
|
||||
"folke/todo-comments.nvim",
|
||||
dependencies = "nvim-lua/plenary.nvim",
|
||||
lazy = true, --optional
|
||||
event = { "BufReadPost", "BufWritePost", "BufNewFile" },
|
||||
config = function()
|
||||
require("todo-comments").setup {
|
||||
-- your configuration comes here
|
||||
-- or leave it empty to use the default settings
|
||||
-- refer to the configuration section below
|
||||
}
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue