filetype.nvim
filetype.nvim copied to clipboard
Detect filetype from shebang with options specified
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?
Also seems to break with #!/usr/bin/env bash.