Mark Story 61cd6e6ef8
feat: add fern extension (#398)
* Add fern extension

Fern[^1] is general purpose tree view that can browse and manipulate
file trees. This extension provides a simple and useful statusline for
fern buffers.

[^1]: https://github.com/lambdalisue/fern.vim

* Reuse nerdtree code for fern

* doc: mention fern in README

Co-authored-by: shadmansaleh <13149513+shadmansaleh@users.noreply.github.com>
2021-10-26 09:21:38 +06:00

12 lines
234 B
Lua

-- MIT license, see LICENSE for more details.
-- Extension for fern file explorer.
local nerdtree = require 'lualine.extensions.nerdtree'
local M = {}
M.sections = vim.deepcopy(nerdtree.sections)
M.filetypes = { 'fern' }
return M