summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-02-15 20:10:00 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-02-15 20:10:00 +0800
commit12d6a9eb75f31b64cbc89eb3265805bc8dad01f0 (patch)
tree031a449c1222ef1705d34fbb22c11ef1ea388ee5 /.editorconfig
parentbf8b18fe8d2f3cc470021e32b9d5f11ec765a643 (diff)
downloadlua-language-server-12d6a9eb75f31b64cbc89eb3265805bc8dad01f0.zip
cleanup
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/.editorconfig b/.editorconfig
index 3dc03084..95014d8b 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -76,12 +76,14 @@ enable_name_style_check = true
# snake_case | upper_snake_case
# same(first_param, snake_case)
# same('m')
-local_name_define_style = camel_case
+local_name_define_style = camel_case|upper_snake_case
function_param_name_style = camel_case
function_name_define_style = camel_case
local_function_name_define_style = camel_case
-table_field_name_define_style = camel_case
+table_field_name_define_style = camel_case|pascal_case
global_variable_name_define_style = camel_case|upper_snake_case
module_name_define_style = camel_case
require_module_name_style = camel_case
class_name_define_style = camel_case
+table_append_expression_no_space = true
+if_condition_align_with_each_other = true