ale/ale_linters
Jorengarenar 94f764631d
Fix chktex highlighting wrong column when using tabs instead of spaces (#4661)
* Fix chktex highlighting wrong column when using tabs instead of spaces

Fixes #723

chktex implemented feature request [1] for allowing setting options from
the command line. Thanks to that we can tell it to treat tab character
as of one space width, i.e. one char. That means, after we translate the
output back to Vim columns, we get correct numbers.

[1]: https://savannah.nongnu.org/bugs/?56486

* Add test_tex_chktex.vader

* Use functions to set g: variables in ale_linters/tex/chktex.vim

* Update ale_linters#tex#chktex#GetCommand() to use '%e'
2024-01-14 21:04:23 +09:00
..
ada Add cspell Linter (#3981) 2021-11-19 07:41:05 +09:00
ansible #4607 No conflicts with nvim-lspconfig by default 2023-09-14 00:40:56 +01:00
apiblueprint
apkbuild Add linters for apkbuild-lint and secfixes-check from atools 2021-01-22 14:04:26 -03:00
asciidoc Add cspell Linter (#3981) 2021-11-19 07:41:05 +09:00
asm Add support for llvm-mc as an assembly linter (#4446) 2023-02-09 10:49:24 +09:00
avra Add support for AVRA linting (#3950) 2021-11-15 19:41:03 +09:00
awk codespell: fix spelling errors picked out by codespell (#4343) 2022-10-29 20:56:09 +09:00
bats
bib
bicep Add support for Bicep when installed as a plugin to Azure CLI (#4496) 2023-04-13 08:51:52 +09:00
bitbake Add oelint-adv support (#4043) 2022-02-06 14:08:10 +09:00
bzl feat: support Bazel buildifier linter (#4529) 2023-06-27 18:52:25 +09:00
c Add clang-check linter for C (#4662) 2023-12-07 14:49:37 +00:00
cairo Add support for Scarb in cairo files (#4669) 2023-12-08 22:13:37 +00:00
chef
clojure Pass input via stdin and filename as arg to clj-kondo (#4315) 2022-09-22 07:24:01 +09:00
cloudformation #2547 Add a cfn-lint alias for cloudformation 2021-01-31 17:06:56 +00:00
cmake Add CMake linter cmake-lint (#4036) 2022-02-06 21:09:38 +09:00
coffee
cpp codespell: fix spelling errors picked out by codespell (#4343) 2022-10-29 20:56:09 +09:00
crystal
cs Add cspell Linter (#3981) 2021-11-19 07:41:05 +09:00
css Stylelint linter output stream can go to stderr (#4702) 2024-01-14 20:43:31 +09:00
cucumber
cuda Add support for clangd with CUDA (#3598) 2021-03-20 22:26:53 +00:00
cypher
d improve DMD handler (#3647) 2021-03-30 15:47:59 +09:00
dafny #4607 No conflicts with nvim-lspconfig by default 2023-09-14 00:40:56 +01:00
dart Show warnings for dart_analyze linter (#4237) 2022-06-25 00:18:08 +09:00
desktop Add desktop-file-validate 2021-03-19 22:29:06 +00:00
dockerfile Dockerlinter (#4518) 2023-05-22 11:58:59 +09:00
elixir #4607 No conflicts with nvim-lspconfig by default 2023-09-14 00:40:56 +01:00
elm Fix E1085: Not a callable type: elm_ls#GetOptions (#4707) 2024-01-14 20:28:29 +09:00
erlang Add erlang_ls linter for Erlang files (#4346) 2022-10-29 20:58:30 +09:00
eruby 🐛 Fix a Ruby deprecation warning in the ERB linter (#4521) 2023-05-26 14:52:51 +09:00
fish
fortran #4607 No conflicts with nvim-lspconfig by default 2023-09-14 00:40:56 +01:00
fountain
fuse
gitcommit
gleam Support gleamlsp language server for gleam (#4696) 2024-01-14 20:43:59 +09:00
glsl fixed parsing errors when certain options are used in glslangValidator (#4540) 2023-07-24 21:43:13 +09:00
go #4454 Clean up more tests and code 2023-09-16 22:23:30 +01:00
graphql Close #2281 - Separate cwd commands from commands 2021-03-01 20:11:10 +00:00
groovy Add support for npm-groovy-lint (#4495) 2023-05-06 09:02:07 +09:00
hack
haml
handlebars #4454 Clean up more tests and code 2023-09-16 22:23:30 +01:00
haskell Close #4541 - Fix Haskell project root detection 2023-09-16 23:25:39 +01:00
help Add cspell Linter (#3981) 2021-11-19 07:41:05 +09:00
html Stylelint linter output stream can go to stderr (#4702) 2024-01-14 20:43:31 +09:00
idris
ink Enable gopls by default with GOPATH detection 2021-05-26 22:43:33 +01:00
inko
ispc
java #4607 No conflicts with nvim-lspconfig by default 2023-09-14 00:40:56 +01:00
javascript #4607 No conflicts with nvim-lspconfig by default 2023-09-14 00:40:56 +01:00
json fix(json): update vscode json lsp name (#4601) 2023-09-09 23:28:38 +01:00
json5 Close #3872 - Add eslint-plugin-jsonc as a linter for JSON, JSONC and JSON5 (#3873) 2021-08-21 10:02:56 +09:00
jsonc Close #3872 - Add eslint-plugin-jsonc as a linter for JSON, JSONC and JSON5 (#3873) 2021-08-21 10:02:56 +09:00
jsonnet Add support for jsonnetfmt and jsonnet-lint (#3907) 2021-09-21 10:49:15 +09:00
julia #4607 No conflicts with nvim-lspconfig by default 2023-09-14 00:40:56 +01:00
kotlin #4607 No conflicts with nvim-lspconfig by default 2023-09-14 00:40:56 +01:00
less Stylelint linter output stream can go to stderr (#4702) 2024-01-14 20:43:31 +09:00
llvm
lua #4607 No conflicts with nvim-lspconfig by default 2023-09-14 00:40:56 +01:00
mail Fix lint tests failing due to multibyte chars. (#3858) 2021-08-06 11:36:39 +09:00
make add: support config option for checkmake linter (#4351) 2022-11-06 09:32:51 +09:00
markdown feat(markdown): add marksman lsp (#4565) 2023-08-01 21:23:02 +01:00
matlab codespell: fix spelling errors picked out by codespell (#4343) 2022-10-29 20:56:09 +09:00
mercury Close #2281 - Separate cwd commands from commands 2021-03-01 20:11:10 +00:00
nasm
nim
nix #4607 No conflicts with nvim-lspconfig by default 2023-09-14 00:40:56 +01:00
nroff
objc
objcpp
ocaml #4607 No conflicts with nvim-lspconfig by default 2023-09-14 00:40:56 +01:00
ocamlinterface ocaml: prepare for filetype separation (#3732) 2021-05-27 16:33:43 +09:00
openapi
openscad Add openscad and sca2d support (#4205) 2022-08-07 16:27:17 +09:00
perl
perl6 3560 add vim 8.2 and nvim 0.4 to ci tests (#3561) 2021-01-27 19:52:24 +00:00
php fix tempfile for phpmd, to be able to use phpmd 2.14.0 (#4617) 2023-12-10 11:11:29 +00:00
po
pod
pony
powershell codespell: fix spelling errors picked out by codespell (#4343) 2022-10-29 20:56:09 +09:00
prolog swipl: style fix 2021-01-23 12:27:55 -05:00
proto Allow to pass options to the buf linter and fix callback. (#4300) 2022-09-08 17:04:17 +09:00
pug Enable gopls by default with GOPATH detection 2021-05-26 22:43:33 +01:00
puppet #4607 No conflicts with nvim-lspconfig by default 2023-09-14 00:40:56 +01:00
purescript #4607 No conflicts with nvim-lspconfig by default 2023-09-14 00:40:56 +01:00
pyrex
python Ruff use json-lines output format (#4656) 2023-12-10 11:45:01 +00:00
qml
r #4607 No conflicts with nvim-lspconfig by default 2023-09-14 00:40:56 +01:00
racket racket: support racket-langserver lsp (#3808) 2021-07-20 10:02:23 +09:00
reason #4607 No conflicts with nvim-lspconfig by default 2023-09-14 00:40:56 +01:00
rego add rego support (#4199) 2022-05-16 21:14:11 +09:00
review
robot Robot framework rflint support (#3715) 2021-09-11 09:19:17 +09:00
rst Add cspell Linter (#3981) 2021-11-19 07:41:05 +09:00
ruby Add support for Packwerk (#4594) 2023-09-13 15:53:24 +01:00
rust #4607 No conflicts with nvim-lspconfig by default 2023-09-14 00:40:56 +01:00
salt
sass Stylelint linter output stream can go to stderr (#4702) 2024-01-14 20:43:31 +09:00
scala Add cspell Linter (#3981) 2021-11-19 07:41:05 +09:00
scss Stylelint linter output stream can go to stderr (#4702) 2024-01-14 20:43:31 +09:00
sh Remove backwards compatibility with ancient setting names 2023-09-09 23:13:44 +01:00
slim
sml
solidity Fix #4499 - Fix solhint >= 3.4.0 2023-09-17 17:24:23 +01:00
spec Add support for rpmlint 2.0.0 (#3757) 2021-07-04 21:19:00 +09:00
sql Fix bug in sqlfluff implementation & implement fixer support (#4365) 2022-11-23 19:58:49 +09:00
stylus Stylelint linter output stream can go to stderr (#4702) 2024-01-14 20:43:31 +09:00
sugarss Stylelint linter output stream can go to stderr (#4702) 2024-01-14 20:43:31 +09:00
svelte Enable gopls by default with GOPATH detection 2021-05-26 22:43:33 +01:00
swift #4607 No conflicts with nvim-lspconfig by default 2023-09-14 00:40:56 +01:00
systemd #3632 Add ale#util#MapMatches 2021-03-15 22:30:22 +00:00
tcl
terraform #4607 No conflicts with nvim-lspconfig by default 2023-09-14 00:40:56 +01:00
testft
tex Fix chktex highlighting wrong column when using tabs instead of spaces (#4661) 2024-01-14 21:04:23 +09:00
texinfo Add cspell Linter (#3981) 2021-11-19 07:41:05 +09:00
text Add cspell Linter (#3981) 2021-11-19 07:41:05 +09:00
thrift Improve the thriftcheck handler pattern (#3893) 2021-09-08 21:48:48 +09:00
typescript Add cspell Linter (#3981) 2021-11-19 07:41:05 +09:00
v #4454 Clean up more tests and code 2023-09-16 22:23:30 +01:00
vala use snake case for linter name 2021-01-23 00:20:11 +09:00
verilog Add Yosys linter for Verilog files. (#3713) 2021-07-12 21:39:53 +09:00
vhdl
vim Enable gopls by default with GOPATH detection 2021-05-26 22:43:33 +01:00
vue #4607 No conflicts with nvim-lspconfig by default 2023-09-14 00:40:56 +01:00
wgsl Add naga linter for WGSL support (#4047) 2022-02-04 16:29:28 +09:00
xhtml Add cspell Linter (#3981) 2021-11-19 07:41:05 +09:00
xml
yaml Actionlint: correctly parse error line when using shellcheck sublinter (#4689) 2024-01-14 20:51:39 +09:00
yang
zeek Add support for zeek (#3952) 2021-10-24 21:05:55 +09:00
zig