I would like to configure neovim (0.7.0) with lua, without plugins.
I've configured line number via vim.wo.number = true
. I guess it would similarly works if I use vim.o.statusline = "%F"
to let the statusline show file name / path.
However, my neovim's statusline is still empty. How can I change my init.lua, to let the statusline show filepath?
Currently the init.lua is:
vim.wo.number = true
vim.o.smarttab = true
vim.bo.expandtab = true
vim.bo.shiftwidth = 4
vim.bo.tabstop = 4
vim.o.statusline = "%F"
vim.wo.statusline = '%F'