diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-02 20:43:56 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-02 20:43:56 +0200 |
| commit | dec313c25895c07bc34334ac597c5f3e1d88145a (patch) | |
| tree | 551f5d6b0c735fecb0043d3e2adc640a698640c3 /.config/nvim | |
| parent | dff4fa5bed7ffa205af5a4c9b5fdf4fdee53e1c5 (diff) | |
| download | dotfiles-dec313c25895c07bc34334ac597c5f3e1d88145a.tar.gz dotfiles-dec313c25895c07bc34334ac597c5f3e1d88145a.zip | |
refactor(nvim): remove dead code
Diffstat (limited to '.config/nvim')
| -rw-r--r-- | .config/nvim/plugin/50-lsp.lua | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/.config/nvim/plugin/50-lsp.lua b/.config/nvim/plugin/50-lsp.lua index 5f22b37..19eaa95 100644 --- a/.config/nvim/plugin/50-lsp.lua +++ b/.config/nvim/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 = { |
