This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
ale/autoload/ale/handlers
Horacio Sanson 5458a1b291
Fix 3103 - add shellcheck shell directive detection. (#3216)
* 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>
2020-11-21 20:49:31 +00:00
..
alex.vim Remove more uses of command_callback and executable_callback 2019-03-09 14:30:28 +00:00
ccls.vim ccls: Detect build dir and set compilationDatabaseDirectory 2020-04-18 13:57:57 +02:00
cppcheck.vim fix cppcheck for 1.89+, and add column support (#3030) 2020-08-06 20:50:44 +01:00
cpplint.vim #852 - Capture error codes for cpplint 2017-11-15 11:28:16 +00:00
css.vim #852 - Capture error codes for stylelint 2017-11-19 12:30:20 +00:00
elixir.vim elixir-ls now recognizes umbrella projects 2018-11-04 06:40:25 -08:00
eslint.vim Look for node packages in .yarn/sdks as well 2020-11-17 17:12:04 +01:00
fecs.vim style: fecs related doc and vim scripts 2019-04-11 16:24:59 +08:00
flawfinder.vim Update syntax checking 2019-02-06 18:05:13 +00:00
gawk.vim Improve ALE project style checking 2018-09-04 16:51:18 +01:00
gcc.vim Improved macro handling in gcc 2020-08-29 15:17:20 +03:00
go.vim Fixes govet linter for go 1.13+, with tests 2020-05-25 11:46:16 -04:00
haskell.vim Update syntax checking 2019-02-06 18:05:13 +00:00
haskell_stack.vim Add better support for Haskell stack compiler tools (#1851) 2018-09-28 09:05:01 +01:00
hdl_checker.vim Adds hdl_checker LSP support (#2804) 2020-08-06 13:20:54 +01:00
hlint.vim Add better support for Haskell stack compiler tools (#1851) 2018-09-28 09:05:01 +01:00
ktlint.vim Fix 2269 - use ktlint stdin. 2020-04-18 15:27:11 +09:00
languagetool.vim languagetools: stop auto-appending --autoDetect (#2616) 2019-09-12 21:22:47 +01:00
markdownlint.vim Support markdownlint rules with multiple slashes 2020-07-31 11:15:13 +12:00
ols.vim Improve ALE project style checking 2018-09-04 16:51:18 +01:00
pony.vim Improve ALE project style checking 2018-09-04 16:51:18 +01:00
redpen.vim #2395 - Handle empty output for redpen 2019-03-29 16:09:27 +00:00
ruby.vim Move ale#handlers#ruby#EscapeExecutable to ale#ruby#EscapeExecutable 2019-08-13 01:52:13 -04:00
rust.vim show rendered cargo error in detail 2019-06-04 22:20:57 -07:00
scala.vim Add fsc linter for Scala (#1452) 2018-04-05 21:04:11 +02:00
sh.vim Move the test for buffer-local variables 2020-11-02 10:59:16 -05:00
shellcheck.vim Fix 3103 - add shellcheck shell directive detection. (#3216) 2020-11-21 20:49:31 +00:00
sml.vim Remove more uses of command_callback and executable_callback 2019-03-09 14:30:28 +00:00
textlint.vim Close #542 - Add an option for disabling running locally installed executables by default 2018-04-09 19:11:20 +01:00
tslint.vim Massively reduce the amount of code needed for linter tests 2018-07-15 18:28:28 +01:00
tsserver.vim add project_root_callback for tsserver (#2290) 2019-02-11 21:24:22 +00:00
unix.vim Fix #518 Fix handling of spaces in filenames for various linters 2017-04-29 17:33:18 +01:00
vale.vim Improve ALE project style checking 2018-09-04 16:51:18 +01:00
writegood.vim Remove more uses of command_callback and executable_callback 2019-03-09 14:30:28 +00:00