mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
73b35ef10f
The Sumneko Lua language server has matured quite a bit and many Neovim developers use it while working on Neovim. Having a default configuration for Neovim development is a nice convenience (and dovetails well with the auto-generated compile_command.json for C development). The file is shipped under `contrib` and users can make use of it by symlinking to `.luarc.json` in the project root.
24 lines
444 B
JSON
24 lines
444 B
JSON
{
|
|
"runtime.version": "LuaJIT",
|
|
"diagnostics": {
|
|
"enable": true,
|
|
"globals": [
|
|
"vim",
|
|
"describe",
|
|
"it",
|
|
"before_each",
|
|
"after_each",
|
|
"setup",
|
|
"teardown"
|
|
]
|
|
},
|
|
"workspace": {
|
|
"library": {
|
|
"runtime/lua": true
|
|
},
|
|
"maxPreload": 2000,
|
|
"preloadFileSize": 1000
|
|
},
|
|
"telemetry.enable": false
|
|
}
|