Add toggleterm extension.

Add # symbol.
This commit is contained in:
Daniel Enrique 2021-08-25 06:55:41 -04:00 committed by Shadman
parent 017620b847
commit 8648ee6d06

View File

@ -0,0 +1,12 @@
-- Copyright (c) 2020-2021 hoob3rt
-- MIT license, see LICENSE for more details.
local function toggleterm_statusline() return 'ToggleTerm #' .. vim.b.toggle_number end
local M = {}
M.sections = {lualine_a = {toggleterm_statusline}}
M.filetypes = {'toggleterm'}
return M