dpelle / vim-Grammalecte

A vim plugin for the Grammalecte French grammar checker
83 stars 11 forks source link

json_decode missing #5

Closed Elm7 closed 4 years ago

Elm7 commented 7 years ago

Hi and thank you for the plugin. I do not get over the "json_decode" availability test although my gvim and qvim version are 7.4.56 How do I get that "json_decode" on Debian jessie latest to be found by the plugin ? thx

dpelle commented 7 years ago

Vim-7.4.56 is too old for vim-Grammalecte. It requires json functions. vim-7.4.056 is from Nov 2013, so it's quite old. You're missing a lot of bug fixes and new features.

My advice is the checkout the latest source code of Vim (8.0.587) and build it. It's quite easy on Debian or Ubuntu:

$ sudo apt-get install git
$ sudo apt-get build-dep vim-gnome
$ git clone https://github.com/vim/vim.git
$ cd vim
$ ./configure --with-features=huge --enable-gui=gtk2 --enable-python3interp=yes
$ make -j8
$ make test
$ sudo make install
Elm7 commented 7 years ago

Hello, thanks for the advice. My old version is the version of debian stable (jessie), that should update in a few weeks (debian stretch) so I'll try then. Have nice days.

dpelle commented 7 years ago

My old version is the version of debian stable (jessie), that should update in a few weeks (debian stretch) so I'll try then. Have nice days.

Yes, I see that Debian stretch uses vim-8.0.0197, so it should work fine.