Add toggleterm extension.
Add # symbol.
This commit is contained in:
parent
017620b847
commit
8648ee6d06
12
lua/lualine/extensions/toggleterm.lua
Normal file
12
lua/lualine/extensions/toggleterm.lua
Normal 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
|
Loading…
x
Reference in New Issue
Block a user