dot_vim
This commit is contained in:
parent
f0510126ba
commit
7a7c647c22
212 changed files with 30625 additions and 30625 deletions
28
dot_vim/lua/lualine_setup.lua
Normal file
28
dot_vim/lua/lualine_setup.lua
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
require('lsp-progress').setup({
|
||||
|
||||
})
|
||||
|
||||
local config = {
|
||||
sections = {
|
||||
lualine_c = {
|
||||
'filename',
|
||||
function()
|
||||
return require('lsp-progress').progress()
|
||||
end,
|
||||
},
|
||||
lualine_x = {
|
||||
'filetype',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
--local function ins_left(component)
|
||||
--table.insert(config.sections.lualine_c, component)
|
||||
--end
|
||||
|
||||
--ins_left({
|
||||
--'lsp_progress',
|
||||
--display_components = { 'lsp_client_name', { 'percentage' } }
|
||||
--})
|
||||
|
||||
require('lualine').setup(config)
|
||||
Loading…
Add table
Add a link
Reference in a new issue