vim-shebang
vim-shebang copied to clipboard
Vim filetype detection by the she·bang line at file.
A stab at https://github.com/vitalk/vim-shebang/issues/7 Add a function to the pre_hook: Adds three programming languages, coffeescript, typescript and clojurescript. Get the file extension of the file, `expand("%:e")`. Check if the file...
Stumbled upon a bug today after having used this plugin for a while. I put my node shebang today in my `file.ts` typescript file, which after not completely understanding why...
If possible, i'd prefer `#!/bin/sh` to set `g:is_sh=1` according to original sh syntax instead of bash.