bmalehorn / vscode-fish

Fish syntax highlighting and formatting
MIT License
62 stars 6 forks source link

Not highlighting on shebang trigger #8

Closed mcandre closed 4 years ago

mcandre commented 4 years ago

Some of my fish scripts lack the .fish extension, but are using a #!/usr/bin/env fish shebang. In that case, the vscode-fish plugin fails to highlight the file.

exploide commented 4 years ago

This will be fixed in #4 by @benspaulding.

bmalehorn commented 4 years ago

I've now merged in #4 - if you update your extension and re-open a file with #!/usr/bin/env fish, it should highlight as fish. Closing this out, but feel free to open another issue if you find a case where it's not working.