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'], > > + \ ['#!/path/rhino']], > > /usr/bin/js and /usr/bin/js{version} ? (We have Mozilla's > Spidermonkey packaged as such in Fedora/RHEL, but I guess it is > available for other Linuces as well, I see it as libmozjs-*-bin > packages on Debian as well) I notice that "js" is another name for nodejs. I don't see "js{version}", would one use that in a script shebang line? -- ARTHUR: Who are you? TALL KNIGHT: We are the Knights Who Say "Ni"! BEDEVERE: No! Not the Knights Who Say "Ni"! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.