mirror of
https://github.com/isabelroses/nvim.git
synced 2025-04-04 11:09:30 +00:00
feat: add stylua
This commit is contained in:
parent
62d92c6d3c
commit
bc18d608a0
2 changed files with 13 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
{
|
||||
"Lua.runtime.version": "Lua 5.1",
|
||||
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
|
||||
"workspace.checkThirdParty": false
|
||||
"workspace.checkThirdParty": false,
|
||||
"diagnostics.globals": [
|
||||
"vim"
|
||||
]
|
||||
}
|
||||
|
|
9
stylua.toml
Normal file
9
stylua.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
indent_type = "Spaces"
|
||||
indent_width = 2
|
||||
column_width = 120
|
||||
quote_style = "AutoPreferDouble"
|
||||
call_parentheses = "Always"
|
||||
line_endings = "Unix"
|
||||
|
||||
[sort_requires]
|
||||
enabled = true
|
Loading…
Add table
Reference in a new issue