feat(extension): Extension for the Mundo plugin (#740)
* Add an extension for the mundo plugin * List the mundo extension
This commit is contained in:
parent
588cf4185b
commit
8f75e65878
|
@ -442,7 +442,7 @@ sections = {
|
|||
|
||||
mode = 0, -- 0: Shows buffer name
|
||||
-- 1: Shows buffer index
|
||||
-- 2: Shows buffer name + buffer index
|
||||
-- 2: Shows buffer name + buffer index
|
||||
-- 3: Shows buffer number
|
||||
-- 4: Shows buffer name + buffer number
|
||||
|
||||
|
@ -756,9 +756,10 @@ extensions = {'quickfix'}
|
|||
- fugitive
|
||||
- fzf
|
||||
- man
|
||||
- mundo
|
||||
- neo-tree
|
||||
- nerdtree
|
||||
- nvim-dap-ui
|
||||
- nvim-dap-ui
|
||||
- nvim-tree
|
||||
- quickfix
|
||||
- symbols-outline
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
local M = {}
|
||||
|
||||
M.sections = {
|
||||
lualine_a = {
|
||||
function()
|
||||
local ft = vim.opt_local.filetype:get()
|
||||
return (ft == "Mundo") and "Change tree"
|
||||
or (ft == "MundoDiff") and "Change diff"
|
||||
end
|
||||
},
|
||||
lualine_y = { "progress" },
|
||||
lualine_z = { "location" },
|
||||
}
|
||||
|
||||
M.filetypes = {
|
||||
"Mundo",
|
||||
"MundoDiff",
|
||||
}
|
||||
|
||||
return M
|
Loading…
Reference in New Issue