diff --git a/README.md b/README.md index 86f481f..8def035 100644 --- a/README.md +++ b/README.md @@ -630,6 +630,7 @@ extensions = {'quickfix'} * nvim-tree * quickfix * toggleterm +* symbols-outline #### Custom extensions diff --git a/doc/lualine.txt b/doc/lualine.txt index 04a08a7..afbe426 100644 --- a/doc/lualine.txt +++ b/doc/lualine.txt @@ -656,6 +656,7 @@ extensions with: - nvim-tree - quickfix - toggleterm +- symbols-outline *lualine-Custom-extensions* diff --git a/lua/lualine/extensions/symbols-outline.lua b/lua/lualine/extensions/symbols-outline.lua new file mode 100644 index 0000000..78ca9bc --- /dev/null +++ b/lua/lualine/extensions/symbols-outline.lua @@ -0,0 +1,9 @@ +-- Copyright (c) 2020-2021 hoob3rt +-- MIT license, see LICENSE for more details. +local M = {} + +M.sections = { lualine_a = { 'filetype' } } + +M.filetypes = { 'Outline' } + +return M