summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-06-02 20:43:56 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-06-02 20:43:56 +0200
commit26dcea943e355ce101bf8ecadf35894b02764043 (patch)
treec09ff1f23c3453e8dd8a59556730ab3bbaab39e9 /plugin
parentfb6d11d4f04b20d2c5cd2a8fb5e307400c18659c (diff)
downloadnvim-config-26dcea943e355ce101bf8ecadf35894b02764043.tar.gz
nvim-config-26dcea943e355ce101bf8ecadf35894b02764043.zip
refactor(nvim): remove dead code
Diffstat (limited to 'plugin')
-rw-r--r--plugin/50-lsp.lua11
1 files changed, 0 insertions, 11 deletions
diff --git a/plugin/50-lsp.lua b/plugin/50-lsp.lua
index 5f22b37..19eaa95 100644
--- a/plugin/50-lsp.lua
+++ b/plugin/50-lsp.lua
@@ -42,17 +42,6 @@ end, { desc = "Toggle LSP inlay hints" })
vim.lsp.config("lua_ls", {
on_init = function(client)
- -- Use `.luarc.json` or `.luarc.jsonc` if available, then exit
- -- See `:help vim.lsp.ClientConfig` for `workspace_folders`
- if client.workspace_folders then
- local path = client.workspace_folders[1].name
- if
- path ~= vim.fn.stdpath("config")
- and (vim.uv.fs_stat(path .. "/.luarc.json") or vim.uv.fs_stat(path .. "/.luarc.jsonc"))
- then
- return
- end
- end
-- See Lua language server configuration settings at https://luals.github.io/wiki/settings
client.config.settings.Lua = vim.tbl_deep_extend("force", client.config.settings.Lua, {
runtime = {