mirror of
https://github.com/neovim/neovim.git
synced 2026-08-17 17:04:47 -05:00
Problem: By default, `nvim` does not survive if its host terminal dies. This is inconvenient if you want to use Nvim as a "session manager" (like tmux). Solution: Let users opt-in to the "survive" behavior via `:detach!` (bang "!"). This marks the current UI as "detachable", so the server will not self-exit if the UI channel closes.
27 lines
521 B
JSON
27 lines
521 B
JSON
{
|
|
"$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": {
|
|
"disable": [
|
|
"preferred-local-alias",
|
|
"unnecessary-if"
|
|
]
|
|
},
|
|
"codeAction": {
|
|
"insertSpace": true
|
|
},
|
|
"strict": {
|
|
"typeCall": true,
|
|
"arrayIndex": true
|
|
}
|
|
}
|