Skip to content

Commit

Permalink
chore: update dotfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
ffainy committed Jan 24, 2022
1 parent 7872790 commit 4b6dde1
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/__pycache__/
/.vscode/
*.code-workspace
*.psd
/core/dev.lua

30 changes: 30 additions & 0 deletions .lua-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
column_limit: 120
indent_width: 4
use_tab: false
continuation_indent_width: 4
keep_simple_control_block_one_line: false
keep_simple_function_one_line: false
align_args: true
break_after_functioncall_lp: false
break_before_functioncall_rp: false
align_parameter: true
chop_down_parameter: false
break_after_functiondef_lp: false
break_before_functiondef_rp: false
align_table_field: true
break_after_table_lb: true
break_before_table_rb: true
chop_down_table: false
chop_down_kv_table: true
column_table_limit: 120
table_sep: ','
extra_sep_at_table_end: false
break_after_operator: true
single_quote_to_double_quote: false
double_quote_to_single_quote: true
spaces_before_call: 1
spaces_inside_functiondef_parens: false
spaces_inside_functioncall_parens: false
spaces_inside_table_braces: false
spaces_around_equals_in_field: true
line_breaks_after_function_body: 1
2 changes: 2 additions & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ exclude_files = {'libs/'}
ignore = {
'113/_',
'212/self',
'212/unit',
'212/event',
'213/i',
'311/i',
'4',
Expand Down
7 changes: 7 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"recommendations": [
"koihik.vscode-lua-format",
"trixnz.vscode-lua",
"stanzilla.vscode-wow-toc"
]
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"lua.format.singleQuote": true,
"lua.preferLuaCheckErrors": true
}
10 changes: 10 additions & 0 deletions FreeUI.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"folders": [
{
"path": "."
}
],
"settings": {
"lua.targetVersion": "5.1"
}
}

0 comments on commit 4b6dde1

Please sign in to comment.