Hubert Pelczarski f644841206
fix: extensions not loading properly (#232)
* refactor: removed inactive sections from extensions

* fix: extensions not loading properly
2021-05-11 21:40:54 +02:00

18 lines
363 B
Lua

-- Copyright (c) 2020-2021 hoob3rt
-- MIT license, see LICENSE for more details.
local function quickfix() return 'Quickfix List' end
local function quickfix_title() return vim.fn.getqflist({title = 0}).title end
local M = {}
M.sections = {
lualine_a = {quickfix},
lualine_b = {quickfix_title},
lualine_z = {'location'}
}
M.filetypes = {'qf'}
return M