mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
build(emmyrc.json): use StyLua formatter in .emmyrc.json #35196
This commit is contained in:
15
.emmyrc.json
15
.emmyrc.json
@@ -1,6 +1,17 @@
|
|||||||
{
|
{
|
||||||
"diagnostics" : {
|
"$schema": "https://raw.githubusercontent.com/EmmyLuaLs/emmylua-analyzer-rust/refs/heads/main/crates/emmylua_code_analysis/resources/schema.json",
|
||||||
"disable" : [
|
"format": {
|
||||||
|
"externalTool": {
|
||||||
|
"program": "stylua",
|
||||||
|
"args": [
|
||||||
|
"-",
|
||||||
|
"--stdin-filepath",
|
||||||
|
"${file}"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"diagnostics": {
|
||||||
|
"disable": [
|
||||||
"unnecessary-if"
|
"unnecessary-if"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user