fix(statusline): use global statusline
This commit is contained in:
parent
22a80f3aa7
commit
2a2afe13a0
3 changed files with 7 additions and 6 deletions
|
@ -1,3 +1,3 @@
|
||||||
# neovim-config
|
# neovim-config
|
||||||
|
|
||||||
Neovim configuration
|
Neovim configuration for neovim version 0.7.0+.
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
require("plugins")
|
require("plugins")
|
||||||
require("options")
|
require("options")
|
||||||
require("keybindings")
|
require("keybindings")
|
||||||
|
|
||||||
-- load the status line
|
|
||||||
local statusline = require("statusline")
|
|
||||||
vim.opt.statusline = statusline.output()
|
|
||||||
|
|
|
@ -63,5 +63,10 @@ g.netrw_altv = 1 -- open split to the right
|
||||||
g.netrw_winsize = 10 -- set the size of the Explorer window
|
g.netrw_winsize = 10 -- set the size of the Explorer window
|
||||||
g.netrw_keepdir = 0 -- keep the browsing directory the same as the current directory
|
g.netrw_keepdir = 0 -- keep the browsing directory the same as the current directory
|
||||||
|
|
||||||
--- Configure Omnifunc to use the LSP client.
|
-- Configure Omnifunc to use the LSP client
|
||||||
set.omnifunc = "v:lua.vim.lsp.omnifunc"
|
set.omnifunc = "v:lua.vim.lsp.omnifunc"
|
||||||
|
|
||||||
|
-- The Statusline
|
||||||
|
local statusline = require("statusline")
|
||||||
|
set.statusline = statusline.output()
|
||||||
|
set.laststatus = 3
|
||||||
|
|
Loading…
Reference in a new issue