Relevant definitions:

Out of the box, Neovim knows to treat files containing #!/usr/bin/env nodejs as Javascript, but for some reason, it doesn't treat files with #!/usr/bin/env pypy3 as Python.

Until Neovim can get this sorted out, you can change your own neovim config to do it anyway, by putting something like:

...in your ~/.config/nvim/scripts.vim file.


Here's another (untested) solution. You could put the following in your polish.lua: HTH.


Hits: 55
Timestamp: 2024-10-17 20:16:54 PDT

Back to Dan's tech tidbits

You can e-mail the author with questions or comments: