LunarVim / Neovim-from-scratch

📚 A Neovim config designed from scratch to be understandable
https://www.chrisatmachine.com/
GNU General Public License v3.0
5.31k stars 1.18k forks source link

The cmdheight is 2 #287

Closed huanhuanai closed 1 year ago

huanhuanai commented 1 year ago

How can i set cmdheight to 1. I tried adding “set cmdheight=1” to "init.vim", but it doesn't work. However the command ":set cmdheight=1" is valid.

gnmearacaun commented 1 year ago

You can set it in the options.lua file if you're using this config. Note that it is sourced in the init.lua file.

gnmearacaun commented 1 year ago

I agree 1 is better, however 2 gives more space to errors. For general neovim questions, please ask on our Matrix chat