5458a1b291
* Fix 3103 - add shellcheck shell directive detection. Searches for shellcheck shell directive to detect dialects for scripts that do not have shebang. * Change order of detection of shellcheck dialect In a situation where the filetype can be wrong (example: something.sh which is written in bash dialect) and has no hash-bang (since it is meant to be sourced) then the override specified within the script will be ignored. It probably is the most right thing to do if the script author has added a specific directive; it should trump everything else. Co-authored-by: Horacio Sanson <horacio@allm.inc> Co-authored-by: Dino Korah <dino.korah@redmatter.com> |
||
---|---|---|
.. | ||
alex.vim | ||
ccls.vim | ||
cppcheck.vim | ||
cpplint.vim | ||
css.vim | ||
elixir.vim | ||
eslint.vim | ||
fecs.vim | ||
flawfinder.vim | ||
gawk.vim | ||
gcc.vim | ||
go.vim | ||
haskell.vim | ||
haskell_stack.vim | ||
hdl_checker.vim | ||
hlint.vim | ||
ktlint.vim | ||
languagetool.vim | ||
markdownlint.vim | ||
ols.vim | ||
pony.vim | ||
redpen.vim | ||
ruby.vim | ||
rust.vim | ||
scala.vim | ||
sh.vim | ||
shellcheck.vim | ||
sml.vim | ||
textlint.vim | ||
tslint.vim | ||
tsserver.vim | ||
unix.vim | ||
vale.vim | ||
writegood.vim |