2021-08-25 06:55:41 -04:00
|
|
|
-- Copyright (c) 2020-2021 hoob3rt
|
|
|
|
-- MIT license, see LICENSE for more details.
|
|
|
|
|
2021-09-04 00:28:20 +06:00
|
|
|
local function toggleterm_statusline()
|
|
|
|
return 'ToggleTerm #' .. vim.b.toggle_number
|
|
|
|
end
|
2021-08-25 06:55:41 -04:00
|
|
|
|
|
|
|
local M = {}
|
|
|
|
|
2021-08-27 01:01:42 +06:00
|
|
|
M.sections = {
|
2021-09-04 00:28:20 +06:00
|
|
|
lualine_a = { toggleterm_statusline },
|
2021-08-27 01:01:42 +06:00
|
|
|
}
|
2021-08-25 06:55:41 -04:00
|
|
|
|
2021-09-04 00:28:20 +06:00
|
|
|
M.filetypes = { 'toggleterm' }
|
2021-08-25 06:55:41 -04:00
|
|
|
|
|
|
|
return M
|