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:
11
.emmyrc.json
11
.emmyrc.json
@@ -1,4 +1,15 @@
|
|||||||
{
|
{
|
||||||
|
"$schema": "https://raw.githubusercontent.com/EmmyLuaLs/emmylua-analyzer-rust/refs/heads/main/crates/emmylua_code_analysis/resources/schema.json",
|
||||||
|
"format": {
|
||||||
|
"externalTool": {
|
||||||
|
"program": "stylua",
|
||||||
|
"args": [
|
||||||
|
"-",
|
||||||
|
"--stdin-filepath",
|
||||||
|
"${file}"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"diagnostics": {
|
"diagnostics": {
|
||||||
"disable": [
|
"disable": [
|
||||||
"unnecessary-if"
|
"unnecessary-if"
|
||||||
|
Reference in New Issue
Block a user