From 4aab79c8e91e7ed2c0cf1ae033b6de1a212ea431 Mon Sep 17 00:00:00 2001 From: choyy <68107073+choyy@users.noreply.github.com> Date: Wed, 24 Jun 2026 21:52:27 +0800 Subject: Remove duplicate variable 'lsp' --- xmake/plugins/project/clang/compile_commands.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/xmake/plugins/project/clang/compile_commands.lua b/xmake/plugins/project/clang/compile_commands.lua index 295b1f355..2f25194cc 100644 --- a/xmake/plugins/project/clang/compile_commands.lua +++ b/xmake/plugins/project/clang/compile_commands.lua @@ -212,7 +212,6 @@ function _make_arguments(jsonfile, arguments, opt) -- make body local projectdir = os.projectdir() -- workaround for drive letter casing issue, can be removed when clangd resolves https://github.com/clangd/vscode-clangd/pull/747 - local lsp = _get_lsp() if is_host("windows") and (lsp == nil or lsp == "clangd") then projectdir = projectdir:gsub("^[A-Z]:", string.lower) end -- cgit v1.3.1