nvim: Add todo-comments

This commit is contained in:
2024-03-25 13:39:52 +01:00
parent 18d0304855
commit fa5410c51e
4 changed files with 13 additions and 39 deletions

View File

@ -4,11 +4,12 @@ local opt = vim.opt
vim.opt.clipboard="unnamedplus"
-- [[ Context ]]
opt.colorcolumn = '100' -- str: Show col for max line length
opt.colorcolumn = '100' -- str: Show col for max line length
opt.number = true -- bool: Show line numbers
opt.relativenumber = true -- bool: Show relative line numbers
opt.scrolloff = 4 -- int: Min num lines of context
opt.scrolloff = 10 -- int: Min num lines of context
opt.signcolumn = "yes" -- str: Show the sign column
opt.cursorline = true -- bool: Highlight the cursor line
-- [[ Filetypes ]]
opt.encoding = 'utf8' -- str: String encoding to use
@ -47,7 +48,6 @@ vim.opt.completeopt = {'menuone', 'noselect', 'noinsert'}
vim.opt.shortmess = vim.opt.shortmess + { c = true}
vim.api.nvim_set_option('updatetime', 300)
-- Uncomment to enable treesitter folding by default
--vim.wo.foldmethod = 'expr'
--vim.wo.foldexpr = 'nvim_treesitter#foldexpr()'