Preliminary support for neovim
Preliminary support for neovim

A simple change to support neovim. Fixes #774.

Move nvimrc file inside .nvim directory

Only install neovim support if neovim is being used

Use program_exists function instead of vimscript

Made a hasty mistake and added vimscript to a bash script :X

Neovim not existing no longer stops script

Also correct `endif` to `fi`.

Refactor program_exists naming

Changed `program_exists` to `program_must_exist`, which throws an error which halts the script if the program is not found, and refactored `nvim_exists` to be the more general `program_exists`, which does not throw an error if the program is not found.

Refactor program_exists and program_must_exist

`program_must_exist` uses `program_exists` now, instead of repeating code. Changed `type` to `command -v` in `program_exists` to be more POSIX compliant. Refactored status code conditional in `program_exists` to remove double negatives. Thanks to @mkwmms for the suggestions.

Preliminary support for neovim

A simple change to support neovim. Fixes #774.

Move nvimrc file inside .nvim directory

Refactor program_exists naming

Changed `program_exists` to `program_must_exist`, which throws an error which halts the script if the program is not found, and refactored `nvim_exists` to be the more general `program_exists`, which does not throw an error if the program is not found.

Refactor program_exists and program_must_exist

`program_must_exist` uses `program_exists` now, instead of repeating code. Changed `type` to `command -v` in `program_exists` to be more POSIX compliant. Refactored status code conditional in `program_exists` to remove double negatives. Thanks to @mkwmms for the suggestions.

sunshinemyson/spf13-vim,Acanthostega/spf13-vim,demon386/spf13-vim,codedogfish/spf13-vim,diogro/spf13-vim,jadewizard/spf13-vim,Alexoner/spf13-vim,nevernet/spf13-vim,bucketzxm/spf13-vim,dawnsong/spf13-vim,dawnsong/spf13-vim,r3jack/spf13-vim,mmikitka/spf13-vim,all3n/spf13-vim,millerdw06/spf13-vim,paddy-w/spf13-vim,dawnsong/spf13-vim,Mucid/spf13-vim,jimgle/spf13-vim,qingzew/spf13-vim,dawnsong/spf13-vim,Xiaolang0/spf13-vim,ArkBriar/VimConf,zacchen/spf13-vim,u9520107/spf13-vim,dawnsong/spf13-vim,hahaliu005/spf13-vim,sreadfox/spf13-vim,dawnsong/spf13-vim,Eastegg/My-spf13,y8y/my-spf13-vim,chenyaqiuqiu/spf13-vim,Frank1993/spf13-vim,Denniskevin/spf13-vim,amorwilliams/spf13-vim,nxsy/spf13-vim,carakan/supra-vim,dawnsong/spf13-vim,xiaoDC/vim,darcylee/magic-vim,lightcn/spf13-vim,dawnsong/spf13-vim,Anden/spf13-vim,qingzew/spf13-vim,dawnsong/spf13-vim,wangbiaobiao/spf13-vim,lzhenyu0/spf13-vim,AkemiHomura/VimConf,dengyh/spf13-vim,wongsyrone/spf13-vim,Eastegg/My-spf13,myself659/spf13-vim,botord/spf13-vim,AaronYee/spf13-vim,taogogo/spf13-vim,cyberyoung/spf13-vim,zhangtuoparis13/spf13-vim,theand/spf13-vim,phlizik/spf13-vim,bronzehedwick/spf13-vim,lisijie/spf13-vim,pjvds/spf13-vim,russellb/spf13-vim,Eastegg/My-spf13,chenzhongjie/.spf13-vim,Ph0enixxx/spf13-vim,taohs/spf13-vim,konqui/spf13-vim,mightyguava/spf13-vim,14roiron/spf13-vim,AkemiHomura/VimConf,JanChw/spf13-vim,mikezuff/spf13-vim,cklsoft/spf13-vim,yangao118/spf13-vim,zhlinh/spf13-vim,dawnsong/spf13-vim,ZiboWang/spf13-vim,yograf/spf13-vim,pietrushnic/spf13-vim,francoisjacques/spf13-vim,dawnsong/spf13-vim,veelion/spf13-vim,spf13/spf13-vim,dawnsong/spf13-vim,qingzew/spf13-vim,farrrr/far-vim,qingzew/spf13-vim,dawnsong/spf13-vim,caibo2014/spf13-vim,teasp00n/spf13-vim,jf87/spf13-vim,jswk/spf13-vim,pebcac/spf13-vim,xuzhenglun/spf13-vim,metcalfc/spf13-vim,0xItx/spf13-vim,ProteusCortex/spf13-vim,dawnsong/spf13-vim,shaunstanislaus/spf13-vim,ArkBriar/VimConf,heartsentwined/spf13-vim,chenpiao/spf13-vim,dawnsong/spf13-vim,perfectworks/pw-vim,huhuang03/spf13-vim