fix: change line length to 100
This commit is contained in:
@@ -12,8 +12,6 @@ vim.api.nvim_create_autocmd("LspAttach", {
|
||||
buf = ev.buf,
|
||||
cmd = {
|
||||
"golines",
|
||||
"-m",
|
||||
"80",
|
||||
"--shorten-comments",
|
||||
},
|
||||
output = "stdout",
|
||||
|
||||
@@ -182,7 +182,7 @@ vim.api.nvim_create_autocmd("FileType", {
|
||||
vim.keymap.set("n", "<leader>lf", function()
|
||||
util.format({
|
||||
buf = ev.buf,
|
||||
cmd = { "md-fmt", "--wrap=80" },
|
||||
cmd = { "md-fmt", "--wrap=100" },
|
||||
output = "stdout",
|
||||
})
|
||||
end, { buffer = ev.buf })
|
||||
|
||||
@@ -65,7 +65,7 @@ vim.opt.diffopt:append({
|
||||
vim.opt.hlsearch = true
|
||||
vim.opt.laststatus = 2
|
||||
vim.opt.textwidth = 0
|
||||
vim.opt.colorcolumn = "81"
|
||||
vim.opt.colorcolumn = "101"
|
||||
vim.opt.shortmess:append("acC")
|
||||
vim.opt.autoread = true
|
||||
-- vim.opt.cmdheight = 0 -- To hide cmdline when not used. Disabled due to
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
column_width = 80
|
||||
column_width = 100
|
||||
line_endings = "Unix"
|
||||
indent_type = "Spaces"
|
||||
indent_width = 4
|
||||
|
||||
Reference in New Issue
Block a user