Skip to content

Commit

Permalink
Move lua style config to editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
raethkcj committed Feb 28, 2024
1 parent f25ae1a commit dfb4f18
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
35 changes: 19 additions & 16 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = tab
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{lua,toc,xml}]
end_of_line = crlf
insert_final_newline = false
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = tab
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{lua,toc,xml}]
end_of_line = crlf
insert_final_newline = false

[*.lua]
trailing_table_separator = smart
5 changes: 1 addition & 4 deletions .luarc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@
"runtime.version": "Lua 5.1",
"workspace.ignoreDir": [
".vscode"
],
"format.defaultConfig": {
"trailing_table_separator": "always"
}
]
}

0 comments on commit dfb4f18

Please sign in to comment.