Skip to content

Commit 48e7c97

Browse files
committed
Add the tagbar extension
Signed-off-by: Sangho Lee <[email protected]>
1 parent 86fe395 commit 48e7c97

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,7 @@ extensions = {'quickfix'}
978978
- symbols-outline
979979
- toggleterm
980980
- trouble
981+
- tagbar
981982

982983
#### Custom extensions
983984

lua/lualine/extensions/tagbar.lua

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
local M = {}
2+
3+
M.sections = {
4+
--lualine_a = {function() return vim.fn['tagbar#currentfile']() end}
5+
lualine_a = {
6+
function()
7+
return 'tagbar'
8+
end,
9+
},
10+
}
11+
12+
M.filetypes = { 'tagbar' }
13+
14+
return M

0 commit comments

Comments
 (0)