feat(extension): Extension for the Mundo plugin (#740)

* Add an extension for the mundo plugin

* List the mundo extension
This commit is contained in:
Benedikt Rips 2022-07-15 13:52:49 +02:00 committed by GitHub
parent 588cf4185b
commit 8f75e65878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 2 deletions

View File

@ -756,6 +756,7 @@ extensions = {'quickfix'}
- fugitive
- fzf
- man
- mundo
- neo-tree
- nerdtree
- nvim-dap-ui

View File

@ -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