filetype.nvim icon indicating copy to clipboard operation
filetype.nvim copied to clipboard

Detect filetype from shebang with options specified

Open sahashirshendu opened this issue 3 years ago • 1 comments

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?

sahashirshendu avatar Mar 04 '22 11:03 sahashirshendu

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

mpfaff avatar Jun 11 '22 02:06 mpfaff