diff options
| author | jdhao <jdhao@hotmail.com> | 2022-05-09 22:05:41 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2022-05-09 22:06:17 +0800 |
| commit | 13111596b8146d4885ddc0db3fc0bc579c3c0b13 (patch) | |
| tree | 92d97582417fc56946b5b4b0d93d395c64af71f8 /init.vim | |
| parent | 6cea10fcc5e2243592433a80bd3866f00687d463 (diff) | |
check if nvim version is correct, see also #51
Diffstat (limited to 'init.vim')
| -rw-r--r-- | init.vim | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -8,6 +8,12 @@ " Email: jdhao@hotmail.com " Blog: https://jdhao.github.io/ +" check if we have the lastest stable version of nvim +if !has('nvim-0.7.0') + echohl Error | echomsg "Nvim 0.7.0 required, but is missing!" | echohl None + finish +endif + let s:core_conf_files = [ \ 'globals.vim', \ 'options.vim', |
