chore: sync EmmyLuaCodeStyle settings between .editorconfig and .luarc.json
This commit is contained in:
@@ -7,6 +7,7 @@ end_of_line = lf
|
|||||||
[nvim-tree-lua.txt]
|
[nvim-tree-lua.txt]
|
||||||
max_line_length = 78
|
max_line_length = 78
|
||||||
|
|
||||||
|
# keep these in sync with .luarc.json so that lua-language-server may check/apply standalone
|
||||||
[*.lua]
|
[*.lua]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
max_line_length = 140
|
max_line_length = 140
|
||||||
|
|||||||
12
.luarc.json
12
.luarc.json
@@ -7,6 +7,18 @@
|
|||||||
"${3rd}/luv/library"
|
"${3rd}/luv/library"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"format": {
|
||||||
|
"defaultConfig": {
|
||||||
|
"indent_style": "space",
|
||||||
|
"max_line_length": "140",
|
||||||
|
"indent_size": "2",
|
||||||
|
"continuation_indent": "2",
|
||||||
|
"quote_style": "double",
|
||||||
|
"call_arg_parentheses": "always",
|
||||||
|
"space_before_closure_open_parenthesis": "false",
|
||||||
|
"align_continuous_similar_call_args": "true"
|
||||||
|
}
|
||||||
|
},
|
||||||
"diagnostics": {
|
"diagnostics": {
|
||||||
"libraryFiles": "Disable",
|
"libraryFiles": "Disable",
|
||||||
"globals": [],
|
"globals": [],
|
||||||
|
|||||||
Reference in New Issue
Block a user