[NTG-context] ANN: Updated Vim scripts for ConTeXt

Nicola nvitacolonna at gmail.com
Tue Oct 11 11:46:30 CEST 2016


On 2016-10-11 09:33:36 +0000, Henning Hraban Ramm said:

> Am 2016-10-11 um 09:26 schrieb Nicola <nvitacolonna at gmail.com>:
> 
>> No, everything just works(tm) :) See :help ftplugin-overrule for the details.
> 
> No, unfortunately not everything:
> 
> Error detected while processing /Users/hraban/.vim/syntax/context.vim:
> line   22:
> E121: Undefined variable: v:t_list
> E15: Invalid expression: type(s:context_include) ==# v:t_list
> Error detected while processing /Users/hraban/.vim/ftplugin/context.vim:
> line   18:
> E539: Illegal character <j>: formatoptions+=tjcroql2
> 
> 
> Maybe my vim is too old?
> VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jun 23 2016 20:20:57)

Yes, the scripts are meant to be used with Vim 8. You should be able to
work around those errors by replacing v:t_list with 3 and removing 'j'
from formatoptions, but other things, like asynchronous typesetting,
won't work anyway.

Nicola




More information about the ntg-context mailing list