modify nvchad config to set line length to 80 chars, can format with gq
commandmaster
parent
e55dbe39bc
commit
accae832ca
|
@ -5,10 +5,12 @@
|
||||||
-- pattern = "*",
|
-- pattern = "*",
|
||||||
-- command = "tabdo wincmd =",
|
-- command = "tabdo wincmd =",
|
||||||
-- })
|
-- })
|
||||||
local opt = vim.opt
|
local opt = vim.opt --equivalent to :set
|
||||||
|
|
||||||
opt.tabstop = 4
|
opt.tabstop = 4
|
||||||
opt.shiftwidth = 4
|
opt.shiftwidth = 4
|
||||||
opt.expandtab = true
|
opt.expandtab = true
|
||||||
|
|
||||||
opt.colorcolumn = "80"
|
opt.colorcolumn = "80"
|
||||||
|
|
||||||
|
opt.textwidth = 80
|
||||||
|
|
|
@ -9,4 +9,5 @@ M.general = {
|
||||||
|
|
||||||
-- more keybinds!
|
-- more keybinds!
|
||||||
|
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
Loading…
Reference in New Issue