Skip to content

Commit

Permalink
chore: updated lua_ls settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ibhagwan committed Mar 5, 2024
1 parent b048fec commit 38b6398
Showing 1 changed file with 21 additions and 23 deletions.
44 changes: 21 additions & 23 deletions .luarc.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,24 @@
{
"runtime.version": "LuaJIT",
"diagnostics": {
"enable": true,
"globals": [
"vim",
"describe",
"pending",
"it",
"before_each",
"after_each",
],
"neededFileStatus": {
"codestyle-check": "Any"
}
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
"runtime.version": "LuaJIT",
"diagnostics": {
"enable": true,
"globals": ["vim"],
"neededFileStatus": {
"codestyle-check": "Any"
},
"workspace": {
"library": [
"runtime/lua",
],
"checkThirdParty": false,
"maxPreload": 2000,
"preloadFileSize": 1000
},
"telemetry.enable": false
"disable": ["need-check-nil", "missing-parameter", "cast-local-type"]
},
"workspace": {
"library": [
"lua",
"$VIMRUNTIME/lua",
"${3rd}/luv/library",
],
"checkThirdParty": false,
"maxPreload": 2000,
"preloadFileSize": 1000,
"ignoreDir": ["tests/"]
},
"telemetry.enable": false
}

0 comments on commit 38b6398

Please sign in to comment.