This commit is contained in:
Nachuan Tang
2023-03-25 16:26:41 -04:00
parent b0c84ce1c5
commit 2bd7717854
3 changed files with 13 additions and 7 deletions
+6 -1
View File
@@ -221,6 +221,9 @@ local function telescope_config()
["<CR>"] = function(bufnr)
local selection = action_state.get_selected_entry()
actions.select_default()
local bg = vim.o.background
local config = vim.g.my_config
vim.fn.SetTheme(bg, selection.value)
end,
},
},
@@ -400,8 +403,10 @@ local function lualine_config()
local msg = "lsp:" .. id
if state == "starting" then
return msg .. " %#CocstatusLoading#" .. loading[math.floor(loadidx / (step * (speed / 100))) + 1]
elseif state == "running" then
return msg .. " %#CocstatusSucceed#✔"
end
return msg .. " %#CocstatusSucceed#✔"
return ''
end
local function debugstats()