chore: autogen (vimdocs+formating)

This commit is contained in:
shadmansaleh 2022-07-15 11:53:29 +00:00 committed by github-actions[bot]
parent 8f75e65878
commit 655411fb7a
2 changed files with 8 additions and 8 deletions

View File

@ -459,7 +459,7 @@ Component specific options These are options that are available on
mode = 0, -- 0: Shows buffer name mode = 0, -- 0: Shows buffer name
-- 1: Shows buffer index -- 1: Shows buffer index
-- 2: Shows buffer name + buffer index -- 2: Shows buffer name + buffer index
-- 3: Shows buffer number -- 3: Shows buffer number
-- 4: Shows buffer name + buffer number -- 4: Shows buffer name + buffer number
@ -800,6 +800,7 @@ extensions with:
- fugitive - fugitive
- fzf - fzf
- man - man
- mundo
- neo-tree - neo-tree
- nerdtree - nerdtree
- nvim-dap-ui - nvim-dap-ui

View File

@ -4,17 +4,16 @@ M.sections = {
lualine_a = { lualine_a = {
function() function()
local ft = vim.opt_local.filetype:get() local ft = vim.opt_local.filetype:get()
return (ft == "Mundo") and "Change tree" return (ft == 'Mundo') and 'Change tree' or (ft == 'MundoDiff') and 'Change diff'
or (ft == "MundoDiff") and "Change diff" end,
end
}, },
lualine_y = { "progress" }, lualine_y = { 'progress' },
lualine_z = { "location" }, lualine_z = { 'location' },
} }
M.filetypes = { M.filetypes = {
"Mundo", 'Mundo',
"MundoDiff", 'MundoDiff',
} }
return M return M