nvim: added neovim configuration

This commit is contained in:
Nico 2025-05-03 16:15:57 +10:00
parent 7182c3a7a0
commit 0399226628
17 changed files with 579 additions and 0 deletions

View file

@ -0,0 +1,10 @@
-- opts
-- neovim defaults
vim.opt.wrap = true
vim.opt.linebreak = false
vim.opt.textwidth = 0
vim.opt.formatoptions = "tcqj"
-- ai slop that gets the job done
-- disables redo formatting when leaving the insert mode
vim.api.nvim_create_augroup("FormatText", { clear = true })