20250118.1737193804
This commit is contained in:
parent
ba81851219
commit
ed1f856b78
17 changed files with 43 additions and 398 deletions
|
@ -38,36 +38,6 @@ local config = {
|
|||
extensions = {},
|
||||
}
|
||||
|
||||
-- local function ins_left(component)
|
||||
-- table.insert(config.sections.lualine_c, component)
|
||||
-- end
|
||||
|
||||
-- local function ins_right(component)
|
||||
-- table.insert(config.sections.lualine_x, 1, component)
|
||||
-- end
|
||||
|
||||
-- ins_right({
|
||||
-- -- Lsp server name .
|
||||
-- function()
|
||||
-- local msg = "No Active Lsp"
|
||||
-- -- local buf_ft = vim.api.nvim_buf_get_option(0, "filetype")
|
||||
-- local buf_ft = vim.bo.filetype
|
||||
-- local clients = vim.lsp.get_clients()
|
||||
-- if next(clients) == nil then
|
||||
-- return msg
|
||||
-- end
|
||||
-- for _, client in ipairs(clients) do
|
||||
-- local filetypes = client.config.filetypes
|
||||
-- if filetypes and vim.fn.index(filetypes, buf_ft) ~= -1 then
|
||||
-- return client.name
|
||||
-- end
|
||||
-- end
|
||||
-- return msg
|
||||
-- end,
|
||||
-- icon = " LSP:",
|
||||
-- color = { fg = "#ff6b6b" },
|
||||
-- })
|
||||
|
||||
return {
|
||||
"nvim-lualine/lualine.nvim",
|
||||
lazy = false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue