* chore: sync EmmyLuaCodeStyle settings between .editorconfig and .luarc.json
* chore: lua-language-server 3.11.0 -> 3.13.9
* chore: fix incorrect definition of vim.loop.fs_lstat
* chore: add codestyle-check option to luals-check.sh
* chore: use luals for style check
* chore: use luals for style check
* Revert "chore: use luals for style check"
This reverts commit e5fde80fab.
* chore: use luals for style check
* chore: use luals for style check
* chore: use luals for style check
* chore: use luals for style check
* chore: use luals for style check
* chore: use luals for style check
* chore: use luals for style check
* chore: use luals for style check
* chore: use luals for style check
* chore: use luals for style check
* chore: use luals for style check
* chore: use luals for style check
90 lines
2.6 KiB
JSON
90 lines
2.6 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json",
|
|
"workspace": {
|
|
"library": [
|
|
"$VIMRUNTIME/lua/vim",
|
|
"${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": [],
|
|
"neededFileStatus": {
|
|
"ambiguity-1": "Any",
|
|
"assign-type-mismatch": "Any",
|
|
"await-in-sync": "Any",
|
|
"cast-local-type": "Any",
|
|
"cast-type-mismatch": "Any",
|
|
"circle-doc-class": "Any",
|
|
"close-non-object": "Any",
|
|
"code-after-break": "Any",
|
|
"codestyle-check": "None",
|
|
"count-down-loop": "Any",
|
|
"deprecated": "Any",
|
|
"different-requires": "Any",
|
|
"discard-returns": "Any",
|
|
"doc-field-no-class": "Any",
|
|
"duplicate-doc-alias": "Any",
|
|
"duplicate-doc-field": "Any",
|
|
"duplicate-doc-param": "Any",
|
|
"duplicate-index": "Any",
|
|
"duplicate-set-field": "Any",
|
|
"empty-block": "Any",
|
|
"global-element": "Any",
|
|
"global-in-nil-env": "Any",
|
|
"incomplete-signature-doc": "Any",
|
|
"inject-field": "Any",
|
|
"invisible": "Any",
|
|
"lowercase-global": "Any",
|
|
"missing-fields": "Any",
|
|
"missing-global-doc": "Any",
|
|
"missing-local-export-doc": "Any",
|
|
"missing-parameter": "Any",
|
|
"missing-return": "Any",
|
|
"missing-return-value": "Any",
|
|
"name-style-check": "None",
|
|
"need-check-nil": "Any",
|
|
"newfield-call": "Any",
|
|
"newline-call": "Any",
|
|
"no-unknown": "None",
|
|
"not-yieldable": "Any",
|
|
"param-type-mismatch": "Any",
|
|
"redefined-local": "Any",
|
|
"redundant-parameter": "Any",
|
|
"redundant-return": "Any",
|
|
"redundant-return-value": "Any",
|
|
"redundant-value": "Any",
|
|
"return-type-mismatch": "Any",
|
|
"spell-check": "None",
|
|
"trailing-space": "Any",
|
|
"unbalanced-assignments": "Any",
|
|
"undefined-doc-class": "Any",
|
|
"undefined-doc-name": "Any",
|
|
"undefined-doc-param": "Any",
|
|
"undefined-env-child": "Any",
|
|
"undefined-field": "None",
|
|
"undefined-global": "Any",
|
|
"unknown-cast-variable": "Any",
|
|
"unknown-diag-code": "Any",
|
|
"unknown-operator": "Any",
|
|
"unreachable-code": "Any",
|
|
"unused-function": "Any",
|
|
"unused-label": "Any",
|
|
"unused-local": "Any",
|
|
"unused-vararg": "Any"
|
|
}
|
|
}
|
|
}
|