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: 78
Timestamp: 2024-11-20 23:08:15 PST

Back to Dan's tech tidbits

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