chore: sync EmmyLuaCodeStyle settings between .editorconfig and .luarc.json

This commit is contained in:
Alexander Courtis 2025-03-22 10:52:21 +11:00
parent c09ff35de5
commit 5bc23f3e45
2 changed files with 13 additions and 0 deletions

View File

@ -7,6 +7,7 @@ end_of_line = lf
[nvim-tree-lua.txt]
max_line_length = 78
# keep these in sync with .luarc.json so that lua-language-server may check/apply standalone
[*.lua]
indent_style = space
max_line_length = 140

View File

@ -7,6 +7,18 @@
"${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": {
"libraryFiles": "Disable",
"globals": [],