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:
Oliver Davies 2024-06-29 15:10:12 +01:00
parent e4e9727819
commit 6713a0d01f
2 changed files with 2 additions and 1 deletions

View file

@ -13,6 +13,7 @@ local settings = {
hidden = false,
hlsearch = false,
inccommand = "split",
laststatus = 3,
linebreak = true,
list = true,
mouse = "",
@ -45,7 +46,6 @@ end
vim.opt.backupdir:remove "." -- keep backups out of the current directory
vim.opt.clipboard:append "unnamedplus"
vim.opt.completeopt = { "menu", "menuone", "noinsert", "noselect" }
vim.opt.laststatus = 3
vim.opt.listchars:append {
trail = "·",
}

View file

@ -16,6 +16,7 @@ require("mini.move").setup {}
require("mini.operators").setup {}
require("mini.statusline").setup {
set_vim_settings = false,
use_icons = false,
}