On 2018-02-03, 21:35 GMT, Bram Moolenaar wrote:
> I notice that "js" is another name for nodejs. I don't see
> "js{version}", would one use that in a script shebang line?
Probably not. I admit these scripts are quite rare
(surprisingly), but I guess it can be alias to
$DEFAULT_JS_INTEPRETER
Matěj Cepl wrote:
> On 2018-02-03, 14:56 GMT, Bram Moolenaar wrote:
> > + \ 'python': [['#!/path/python']],
>
> What about /usr/bin/python2 and /usr/bin/python3
We can check for those too.
> > + \ 'javascript': [['#!/path/node'],
> > + \['#!/path/nodejs'],
>
On 2018-02-03, 14:56 GMT, Bram Moolenaar wrote:
> + \ 'python': [['#!/path/python']],
What about /usr/bin/python2 and /usr/bin/python3
> + \ 'javascript': [['#!/path/node'],
> + \['#!/path/nodejs'],
> + \['#!/path/rhino']],
/usr/bin/js and
Patch 8.0.1458
Problem:Filetype detection test does not check all scripts.
Solution: Add most scripts to the test
Files: src/testdir/test_filetype.vim
*** ../vim-8.0.1457/src/testdir/test_filetype.vim 2018-01-29
09:17:28.670732722 +0100
--- src/testdir/test_filetype.vim