fix lua
This commit is contained in:
parent
b0750a3f20
commit
7863988134
3 changed files with 38 additions and 0 deletions
28
templates/lua/.editorconfig
Normal file
28
templates/lua/.editorconfig
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
max_line_length = 120
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[{makefile,Makefile}]
|
||||
indent_style = tab
|
||||
tab_width = 4
|
||||
|
||||
[Makefile.*]
|
||||
indent_style = tab
|
||||
tab_width = 4
|
||||
|
||||
[*.{tab,tsv}]
|
||||
indent_style = tab
|
||||
tab_width = 1
|
||||
|
||||
[*.py]
|
||||
indent_size = 4
|
||||
4
templates/lua/.luarc.json
Normal file
4
templates/lua/.luarc.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"workspace.checkThirdParty": true
|
||||
}
|
||||
|
||||
6
templates/lua/stylua.toml
Normal file
6
templates/lua/stylua.toml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
column_width = 120
|
||||
line_endings = "Unix"
|
||||
indent_type = "Spaces"
|
||||
indent_width = 2
|
||||
quote_style = "AutoPreferDouble"
|
||||
no_call_parentheses = false
|
||||
Loading…
Reference in a new issue