add compatability for neovim < 0.5
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
" Modeline and Notes {
|
||||
" Environment {
|
||||
" get current neovim version
|
||||
if has('nvim')
|
||||
let g:nvim_version = matchstr(execute('version'), 'NVIM v\zs[^\n]*')
|
||||
endif
|
||||
|
||||
" The default leader is '\', but many people prefer ',' as it's in a standard
|
||||
let mapleader = ','
|
||||
let maplocalleader = '_'
|
||||
|
||||
Reference in New Issue
Block a user