feat(core): update line length to 80
This commit is contained in:
@@ -77,7 +77,7 @@ vim.cmd.filetype("plugin on")
|
|||||||
vim.opt.hlsearch = true
|
vim.opt.hlsearch = true
|
||||||
vim.opt.laststatus = 3
|
vim.opt.laststatus = 3
|
||||||
vim.opt.textwidth = 0
|
vim.opt.textwidth = 0
|
||||||
vim.opt.colorcolumn = "101"
|
vim.opt.colorcolumn = "81"
|
||||||
vim.opt.shortmess:append("a")
|
vim.opt.shortmess:append("a")
|
||||||
vim.opt.autoread = true
|
vim.opt.autoread = true
|
||||||
-- vim.opt.cmdheight = 0 -- To hide cmdline when not used. Disabled due to
|
-- vim.opt.cmdheight = 0 -- To hide cmdline when not used. Disabled due to
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ return {
|
|||||||
{
|
{
|
||||||
cmd = {
|
cmd = {
|
||||||
"flake8",
|
"flake8",
|
||||||
"--max-line-length=100",
|
"--max-line-length=80",
|
||||||
"--max-doc-length=100",
|
"--max-doc-length=80",
|
||||||
"--format",
|
"--format",
|
||||||
"%(row)d,%(col)d,%(code).1s: %(text)s",
|
"%(row)d,%(col)d,%(code).1s: %(text)s",
|
||||||
"-",
|
"-",
|
||||||
@@ -38,7 +38,7 @@ return {
|
|||||||
cmd = {
|
cmd = {
|
||||||
"black",
|
"black",
|
||||||
"--line-length",
|
"--line-length",
|
||||||
"100",
|
"80",
|
||||||
"--stdin-filename",
|
"--stdin-filename",
|
||||||
"%filename%",
|
"%filename%",
|
||||||
"--quiet",
|
"--quiet",
|
||||||
@@ -64,7 +64,7 @@ return {
|
|||||||
cmd = {
|
cmd = {
|
||||||
"black",
|
"black",
|
||||||
"--line-length",
|
"--line-length",
|
||||||
"100",
|
"80",
|
||||||
"--stdin-filename",
|
"--stdin-filename",
|
||||||
"%filename%",
|
"%filename%",
|
||||||
"--quiet",
|
"--quiet",
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
column_width = 100
|
column_width = 80
|
||||||
line_endings = "Unix"
|
line_endings = "Unix"
|
||||||
indent_type = "Spaces"
|
indent_type = "Spaces"
|
||||||
indent_width = 4
|
indent_width = 4
|
||||||
|
|||||||
Reference in New Issue
Block a user