Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Detect filetype from shebang with options specified #79

Open
sahashirshendu opened this issue Mar 4, 2022 · 1 comment · May be fixed by #93
Open

Detect filetype from shebang with options specified #79

sahashirshendu opened this issue Mar 4, 2022 · 1 comment · May be fixed by #93

Comments

@sahashirshendu
Copy link

If I have script with shebang #!/usr/bin/gnuplot, nvim automatically sets the filetype as gnuplot. But if I set any option to gnuplot such as, #!/usr/bin/gnuplot --persist, the filetype is no longer set to gnuplot. Can this be automatically set to gnuplot using filetype.nvim?

@mpfaff
Copy link

mpfaff commented Jun 11, 2022

Also seems to break with #!/usr/bin/env bash.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants