Skip to content

Commit d821739

Browse files
committed
feat(lua_ls): optimize speed
1 parent fdf32ee commit d821739

File tree

3 files changed

+7
-16
lines changed

3 files changed

+7
-16
lines changed

.luarc.json

+1-11
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,12 @@
33
"workspace": {
44
"library": [
55
"$VIMRUNTIME",
6-
"$XDG_DATA_HOME/nvim",
7-
"$HOME/.local/share/nvim",
86
"${3rd}/luv/library"
97
],
108
"checkThirdParty": "Disable"
119
},
1210
"runtime": {
1311
"version": "LuaJIT",
14-
"path": [
15-
"./?.lua",
16-
"/usr/share/luajit-2.1.0-beta3/?.lua",
17-
"/usr/local/share/lua/5.1/?.lua",
18-
"/usr/local/share/lua/5.1/?/init.lua",
19-
"/usr/share/lua/5.1/?.lua",
20-
"/usr/share/lua/5.1/?/init.lua"
21-
]
12+
"pathStrict": true
2213
},
23-
"diagnostics.globals": ["vim"]
2414
}

after/ftplugin/lua/lsp.lua

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ lsp.start({
3434
Lua = {
3535
hint = { enable = true },
3636
format = { enable = not efm },
37+
telemetry = { enable = false },
3738
},
3839
},
3940
})

package-lock.json

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)