parent
bfae320155
commit
31de50919a
|
@ -387,11 +387,12 @@ extensions = { 'fzf' }
|
|||
<details>
|
||||
<summary><b>Available extensions</b></summary>
|
||||
|
||||
* chadtree
|
||||
* fugitive
|
||||
* fzf
|
||||
* nerdtree
|
||||
* chadtree
|
||||
* nvim-tree
|
||||
* quickfix
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
@ -506,11 +506,12 @@ using a plugin which is supported you can load it this way:
|
|||
<
|
||||
|
||||
Available extensions
|
||||
* chadtree
|
||||
* fugitive
|
||||
* fzf
|
||||
* nerdtree
|
||||
* chadtree
|
||||
* nvim-tree
|
||||
* quickfix
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
CONGIG EXAMPLES *lualine_config_examples*
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
-- 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.inactive_sections = vim.deepcopy(M.sections)
|
||||
|
||||
M.filetypes = {'qf'}
|
||||
|
||||
return M
|
Loading…
Reference in New Issue