mirror of
https://github.com/lune-org/mlua-luau-scheduler.git
synced 2025-04-04 18:40:59 +01:00
Add git attributes and editor config
This commit is contained in:
parent
047e6a5f6e
commit
d1cc17b2d3
2 changed files with 24 additions and 0 deletions
15
.editorconfig
Normal file
15
.editorconfig
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
|
[*.{json,jsonc,json5}]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
[*.{yml,yaml}]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
9
.gitattributes
vendored
Normal file
9
.gitattributes
vendored
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
* text=auto
|
||||||
|
|
||||||
|
# Temporarily highlight luau as normal lua files
|
||||||
|
# until we get native linguist support for Luau
|
||||||
|
*.luau linguist-language=Lua
|
||||||
|
|
||||||
|
# Ensure all lua files use LF
|
||||||
|
*.lua eol=lf
|
||||||
|
*.luau eol=lf
|
Loading…
Add table
Reference in a new issue