refactor
This commit is contained in:
@@ -22,6 +22,8 @@ if NV_DARCULA_ENABLE_COC then
|
||||
end
|
||||
|
||||
local symbols = require("darcula.utils.symbols")
|
||||
---@diagnostic disable-next-line: deprecated
|
||||
local unpacker = table.unpack or unpack
|
||||
|
||||
require("mason").setup {
|
||||
ui = {
|
||||
@@ -58,7 +60,7 @@ for _, name in pairs(NV_DARCULA_MASON_LSP_LIST) do
|
||||
{
|
||||
cmd = {
|
||||
"clangd",
|
||||
table.unpack(NV_DARCULA_CLANGD_ARGS)
|
||||
unpacker(NV_DARCULA_CLANGD_ARGS)
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user