mirror of
https://github.com/neovim/neovim.git
synced 2026-05-23 21:30:11 +00:00
Problem: When using the default `lua_ls` config from nvim-lspconfig, the following info message gets printed: ``` LSP[lua_ls] Too large file: src/nvim/eval.lua skipped. The currently set size limit is: 500 KB, and the file size is: 511.133 KB. ``` Solution: Set `workspace.preloadFileSize` to 1000 KB instead of the default 500 KB.
30 lines
572 B
JSON
30 lines
572 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
|
|
"runtime": {
|
|
"version": "LuaJIT"
|
|
},
|
|
"workspace": {
|
|
"ignoreDir": [
|
|
".deps",
|
|
"build",
|
|
"test"
|
|
],
|
|
"preloadFileSize": 1000,
|
|
"checkThirdParty": "Disable"
|
|
},
|
|
"diagnostics": {
|
|
"groupFileStatus": {
|
|
"strict": "Opened",
|
|
"strong": "Opened"
|
|
},
|
|
"groupSeverity": {
|
|
"strong": "Warning",
|
|
"strict": "Warning"
|
|
},
|
|
"unusedLocalExclude": [ "_*" ],
|
|
"disable": [
|
|
"luadoc-miss-see-name"
|
|
]
|
|
}
|
|
}
|