mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-05 02:24:58 +02:00
cleaning up galaxyline
This commit is contained in:
parent
f7132edd54
commit
dcdf5fd4ee
1 changed files with 4 additions and 4 deletions
|
@ -103,7 +103,7 @@ table.insert(gls.left, {
|
|||
highlight = {colors.red, colors.bg}
|
||||
}
|
||||
})
|
||||
print(vim.fn.getbufvar(0, 'ts'))
|
||||
-- print(vim.fn.getbufvar(0, 'ts'))
|
||||
vim.fn.getbufvar(0, 'ts')
|
||||
|
||||
table.insert(gls.left, {
|
||||
|
@ -189,13 +189,13 @@ local get_lsp_client = function (msg)
|
|||
for _,client in ipairs(clients) do
|
||||
local filetypes = client.config.filetypes
|
||||
if filetypes and vim.fn.index(filetypes, buf_ft) ~=1 then
|
||||
print(client.name)
|
||||
-- print(client.name)
|
||||
if lsps == "" then
|
||||
print("first", lsps)
|
||||
-- print("first", lsps)
|
||||
lsps = client.name
|
||||
else
|
||||
lsps = lsps .. ", " .. client.name
|
||||
print("more", lsps)
|
||||
-- print("more", lsps)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue