Skip to content

Commit

Permalink
vim: Add deprecation warnings for neovim 0.7.x (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
wookayin committed Apr 27, 2023
1 parent a4725a3 commit c048ddd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vim/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ else " No timer support, this will run during VimEnter (before UI draws)
endif

" Check neovim version.
if has('nvim') && !has('nvim-0.7.0')
let s:warning_msg = 'Please upgrade to latest neovim (0.7.0+). Support for neovim < 0.7 will be dropped soon. '
if has('nvim') && !has('nvim-0.8.0')
let s:warning_msg = 'Please upgrade to latest neovim (0.9.0+). Support for neovim < 0.8 will be dropped soon. '
let s:warning_msg .= printf('(Try: %s install neovim)', has('mac') ? 'brew' : 'dotfiles')
if exists('*luaeval')
autocmd VimEnter * call timer_start(100, { ->
Expand Down

0 comments on commit c048ddd

Please sign in to comment.