Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line 62, laststatus = 2 #190

Open
hacshyac opened this issue Mar 18, 2024 · 3 comments
Open

Line 62, laststatus = 2 #190

hacshyac opened this issue Mar 18, 2024 · 3 comments

Comments

@hacshyac
Copy link

In sensible.vim the lines about laststatus (line 61-63) do not work out as I open vim first time.
2024-03-18_19-51
It gives me E36: not enough space (my system is in German).
2024-03-18_19-52
After typing enter, I can still open the file with vim, but there is no status bar under. (In this example, I opened a pandoc latex preamble)
2024-03-18_19-52_1
After close this file, and open again, the status bar shows correctly..
2024-03-18_19-52_2

This is not a crucial problem. But it is not clean and a little bit annoying.

Here I attached my vimrc as well.
2024-03-18_20-00

@tpope
Copy link
Owner

tpope commented Mar 20, 2024

Does the same thing happen if you set laststatus=2 in your vimrc?

Does it happen if you remove the if s:MaySet('laststatus') guard?

@hacshyac
Copy link
Author

Does the same thing happen if you set laststatus=2 in your vimrc?

Does it happen if you remove the if s:MaySet('laststatus') guard?

Yes, it still happens. It tried both your suggestions.
If I put set laststatus=2 in vimrc, it gives E36 in vimrc but not in sensible.vim.

@hacshyac
Copy link
Author

Anyway, I just commented line 61-63 in sensible.vim, since from status line I can get the same information like from laststatus.
Thank you for answering me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants