lua/lualine/extensions/mundo.lua
raw| 1 | local M = {} |
| 2 | |
| 3 | M.sections = { |
| 4 | lualine_a = { |
| 5 | function() |
| 6 | local ft = vim.opt_local.filetype:get() |
| 7 | return (ft == 'Mundo') and 'Change tree' or (ft == 'MundoDiff') and 'Change diff' |
| 8 | end, |
| 9 | }, |
| 10 | lualine_y = { 'progress' }, |
| 11 | lualine_z = { 'location' }, |
| 12 | } |
| 13 | |
| 14 | M.filetypes = { |
| 15 | 'Mundo', |
| 16 | 'MundoDiff', |
| 17 | } |
| 18 | |
| 19 | return M |