Re-enable global statusline with mini.statusline
From the README file: ```lua -- Whether to set Vim's settings for statusline (make it always shown -- with 'laststatus' set to 2). -- To use global statusline, set this to `false` and 'laststatus' to 3. set_vim_settings = true, ```
This commit is contained in:
parent
e4e9727819
commit
6713a0d01f
|
@ -13,6 +13,7 @@ local settings = {
|
||||||
hidden = false,
|
hidden = false,
|
||||||
hlsearch = false,
|
hlsearch = false,
|
||||||
inccommand = "split",
|
inccommand = "split",
|
||||||
|
laststatus = 3,
|
||||||
linebreak = true,
|
linebreak = true,
|
||||||
list = true,
|
list = true,
|
||||||
mouse = "",
|
mouse = "",
|
||||||
|
@ -45,7 +46,6 @@ end
|
||||||
vim.opt.backupdir:remove "." -- keep backups out of the current directory
|
vim.opt.backupdir:remove "." -- keep backups out of the current directory
|
||||||
vim.opt.clipboard:append "unnamedplus"
|
vim.opt.clipboard:append "unnamedplus"
|
||||||
vim.opt.completeopt = { "menu", "menuone", "noinsert", "noselect" }
|
vim.opt.completeopt = { "menu", "menuone", "noinsert", "noselect" }
|
||||||
vim.opt.laststatus = 3
|
|
||||||
vim.opt.listchars:append {
|
vim.opt.listchars:append {
|
||||||
trail = "·",
|
trail = "·",
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,6 +16,7 @@ require("mini.move").setup {}
|
||||||
require("mini.operators").setup {}
|
require("mini.operators").setup {}
|
||||||
|
|
||||||
require("mini.statusline").setup {
|
require("mini.statusline").setup {
|
||||||
|
set_vim_settings = false,
|
||||||
use_icons = false,
|
use_icons = false,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue