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 d9e078f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .luarc.json

This file was deleted.

24 changes: 24 additions & 0 deletions .luarc.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
"runtime.version": "LuaJIT",
"diagnostics": {
"enable": true,
"globals": ["vim"],
"neededFileStatus": {
"codestyle-check": "Any"
},
"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 d9e078f

Please sign in to comment.