Fix syntax occasionally not working in popup, and custom vimrc crashing in neovim

This commit is contained in:
Ben Jackson 2021-02-23 09:03:45 +00:00
commit 0810d7154c
4 changed files with 7 additions and 3 deletions

View file

@ -38,6 +38,10 @@ function! s:CustomiseUI()
endfunction
function s:SetUpTerminal()
if !has_key( g:vimspector_session_windows, 'terminal' )
" There's a neovim bug which means that this doesn't work in neovim
return
endif
let terminal_win = g:vimspector_session_windows.terminal
" Make the terminal window at most 80 columns wide, ensuring there is enough