[nvim] Fix faulty if statement

This commit is contained in:
Alyxia Sother 2022-08-08 22:22:33 +02:00
parent c23ce14d05
commit 3730b40d25
No known key found for this signature in database
GPG key ID: 355968D14144B739

View file

@ -14,7 +14,7 @@ else
endif
" Arrow key fix kanged from <https://vim.fandom.com/wiki/Fix_arrow_keys_that_display_A_B_C_D_on_remote_shell#Solution_21> {{{
if g:HELP_MY_ARROW_KEYS_ARE_BROKEN
if exists("g:HELP_MY_ARROW_KEYS_ARE_BROKEN")
" the following simply creates an ambiguous mapping so vim fully
" processes the escape sequence for terminal keys, see 'ttimeout' for a
" rough explanation, this just forces it to work