Vital Kudzelka

Results 25 comments of Vital Kudzelka

Hi @oryband! Please correct me if I missed something. You want to detect `#!/usr/bin/sh` as `sh` filetype, and `#!/usr/bin/bash` as `bash`?

@oryband I don’t set global `is_bash`/`is_sh` variables and use buffer-local, e.g. `b:is_bash`/`b:is_sh`. The `filetype.vim` from my vim distribution uses them to change syntax highlighting appropriately. Note, I don’t set ```...

> syntax is bash and doesn't change The sample your provided works as expected with my Vim distribution (the highlighting for `${tmpl%%.tmpl}` part is changed). Just for a note, my...

I see the two possible issues: - Pre hook I defined don’t called and both of `b:is_sh`/`b:is_bash` variables are still undefined. Please, ensure the hook is called and output `looks...