fix(statusline): use global statusline

This commit is contained in:
Dan Anglin 2022-04-15 18:30:28 +01:00
parent 22a80f3aa7
commit 2a2afe13a0
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638
3 changed files with 7 additions and 6 deletions

View file

@ -1,3 +1,3 @@
# neovim-config
Neovim configuration
Neovim configuration for neovim version 0.7.0+.

View file

@ -1,7 +1,3 @@
require("plugins")
require("options")
require("keybindings")
-- load the status line
local statusline = require("statusline")
vim.opt.statusline = statusline.output()

View file

@ -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_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"
-- The Statusline
local statusline = require("statusline")
set.statusline = statusline.output()
set.laststatus = 3