(desktop) Gen 494: disabled auto linebreak by default in nixvim, made it only activate in plain text files like .md or .txt where linebreak formatting actually matters

This commit is contained in:
pagedMov
2024-10-16 00:49:25 -04:00
parent bd1add14bb
commit 1c2d41ac49
3 changed files with 20 additions and 10 deletions

View File

@@ -24,8 +24,8 @@
vim.opt.relativenumber = true
vim.opt.hlsearch = true
vim.opt.incsearch = true
vim.opt.shiftwidth = 4
vim.opt.tabstop = 4
vim.opt.shiftwidth = 2
vim.opt.tabstop = 2
vim.opt.termguicolors = true
vim.opt.ruler = true
vim.opt.scrolloff = 6
@@ -33,7 +33,7 @@
vim.opt.foldmethod = "manual"
vim.opt.wrap = true
vim.opt.linebreak = true
vim.opt.textwidth = 135
vim.opt.textwidth = 0
vim.opt.breakat = " \t!@*-+;:,./?"
vim.g.mapleader = "!"