From 35307c058535c7d6c365965c90710c39f1c2e3d8 Mon Sep 17 00:00:00 2001 From: Andrew Balmos Date: Sun, 4 Dec 2016 17:19:06 -0500 Subject: LaTeX Linters (#190) * Add chktex linter * Alias plaintex to tex * Add lacheck linter Closes #179 * Add the chktex warning code This very useful to have when you want to suppress lint warnings with LaTeX comments. chktex tends to be a bit noisy so this often needed. * lacheck: Make regex less specific To be more robust future changes in `stdin-wrapper` --- doc/ale.txt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'doc/ale.txt') diff --git a/doc/ale.txt b/doc/ale.txt index 01b23321..eae5c286 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -27,6 +27,9 @@ CONTENTS *ale-contents* 4.15. htmlhint..............................|ale-linter-options-htmlhint| 4.16. c-clang...............................|ale-linter-options-c-clang| 4.17. python-flake8.........................|ale-linter-options-python-flake8| + 4.18. ruby-rubocop..........................|ale-linter-options-ruby-rubocop| + 4.19. chktex................................|ale-linter-options-chktex| + 4.20. lacheck...............................|ale-linter-options-lacheck| 5. Linter Integration Notes...................|ale-linter-integration| 5.1. merlin................................|ale-linter-integration-ocaml-merlin| 6. Commands/Keybinds..........................|ale-commands| @@ -74,6 +77,7 @@ The following languages and tools are supported. * HTML: 'HTMLHint', 'tidy' * JavaScript: 'eslint', 'jscs', 'jshint', 'flow' * JSON: 'jsonlint' +* LaTeX: 'chktex', 'lacheck' * Lua: 'luacheck' * Markdown: 'mdl' * MATLAB: 'mlint' @@ -641,6 +645,33 @@ g:ale_ruby_rubocop_options *g:ale_ruby_rubocop_options* This variable can be change to modify flags given to rubocop. +------------------------------------------------------------------------------- +4.19. chktex *ale-linter-options-chktex* + +g:ale_tex_chktex_executable *g:ale_tex_chktex_executable* + + Type: |String| + Default: `'chktex'` + + This variable can be changed to change the path to chktex. + +g:ale_tex_chktex_options *g:ale_tex_chktex_options* + + Type: |String| + Default: `'-I'` + + This variable can be changed to modify flags given to chktex. + +------------------------------------------------------------------------------ +4.20. lacheck *ale-linter-options-lacheck* + +g:ale_lacheck_executable *g:ale_lacheck_executable* + + Type: |String| + Default: '`lacheck`' + + This variable can be changed to change the path to lacheck. + =============================================================================== 5. Linter Integration Notes *ale-linter-integration* -- cgit v1.2.3