summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2019-02-21#2132 - Implement deferred command handling for lintersw0rp
2019-02-20Merge pull request #2303 from kevinoid/bandit-use-configw0rp
python/bandit: Use .bandit configuration file
2019-02-20Merge pull request #2302 from kevinoid/pylint-cd-proj-rootw0rp
python/pylint: Change directory to project root
2019-02-18Fix typo in ale.txtmandreyel
2019-02-17python/bandit: Use .bandit configuration fileKevin Locke
Bandit automatically [uses any .bandit file] within the directories on which it is invoked. Since ALE invokes bandit on stdin, it does not load a .bandit file automatically. Add support for automatically finding a .bandit file and passing it to bandit via the --ini option along with a variable to disable this behavior if desired. Note: This is useful for the skips and tests configuration options, but not exclude which would require invoking bandit using a file name, which may or may not be a good trade-off. [uses any .bandit file]: https://github.com/PyCQA/bandit/blob/1.5.1/bandit/cli/main.py#L70-L73 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-17python/pylint: Change directory to project rootKevin Locke
Pylint only [checks for pylintrc] (and .pylintrc) files in the packages aboves its current directory before falling back to user and global pylintrc. For projects with a src dir, running pylint from the directory containing the file will not use the project pylintrc. Adopt the convention used by many other Python linters of running from the project root, which solves this issue. Add pylintrc and .pylintrc to FindProjectRoot. Update docs. [checks for pylintrc]: https://github.com/PyCQA/pylint/blob/pylint-2.2.2/pylint/config.py#L106 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-13Fix #2293 - Update linter option documentationw0rp
* The README now points to a valid helptag for linter options. * The now very, very large part of the table of contents for linter and fixer options has been moved into a section so the initial table is smaller. * Special linter or fixer options now lie beneath the general linter or fixer options.
2019-02-12Merge pull request #2291 from kevinoid/pylama-no-tempw0rp
pylama: Use %s instead of %t
2019-02-12#2132 - Implement deferred executable string handling for lintersw0rp
2019-02-12pylama: Use %s instead of %tKevin Locke
Although using %t to lint changes was desirable, many pylama checks use surrounding paths and file contents (e.g. C0103 module name, E0402 relative import beyond top, etc.) The more such errors I find during testing, the less %t seems like a good idea. Switch to %s. Also set `lint_file` to 1 and mark Pylama as a file linter in the docs. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-11Rewrite the supported tools lists in new filesw0rp
2019-02-10Merge pull request #2268 from m-pilia/alexw0rp
Add settings for the Alex linter
2019-02-10Merge pull request #2287 from kevinoid/vulture-optionsw0rp
Document and test ale_python_vulture_options
2019-02-10Support ale_sh_shellcheck_dialect to set dialectKevin Locke
As discussed in w0rp/ale#1051, there are cases where it would be useful to be able to specify the dialect explicitly. This commit allows users to do so using the ale_sh_shellcheck_dialect variable. Fixes: w0rp/ale#1051 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-10Document and test ale_python_vulture_optionsKevin Locke
The vulture linter already supports ale_python_vulture_options, but it is not documented or tested. Since vulture only supports configuration via options, it is an important use case. Add docs and test. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-10Supporting filtered jump (#2279)Théo Cavignac
* Support filtered jump based on loclist item type (E or W for now) * Use flags to customize the behavior of ALENext and ALEPrevious * Update <plug> bindings with flags * Update documentation about ALENext and ALEPrevious * Use ale#args#Parse in JumpWrap
2019-02-08Support pylama for python (#2266)Kevin Locke
* Add pylama for python * Consolidate python traceback handling
2019-02-08Merge pull request #2262 from sectioneight/cd-for-blackw0rp
Respect python black fixer configuration file
2019-02-08Add `-relative` option to ALESymbolSearch (#2255)Alvin Chan
* Add `-relative` option to ALESymbolSearch * Document the `-relative` option for ALEFindReferences and ALESymbolSearch
2019-02-07Fixes javalsp linterJan Ouwens
2019-02-06Make Cypher linter dynamicFrancisco Lopes
2019-02-06Merge pull request #2270 from oblitum/add-cypher-lintw0rp
linter/cypher: add cypher-lint
2019-02-06#2132 - lint and fix with ale#command#Runw0rp
A new function is added here which will later be modified for public use in linter and fixer callbacks. All linting and fixing now goes through this new function, to prove that it works in all cases.
2019-02-03linter/cypher: add cypher-lintFrancisco Lopes
2019-02-02Add settings for the Alex linterMartino Pilia
The executable for the Alex linter is currently hard-coded as 'alex', which is an issue given the fact that it conflicts with the Haskell lexer generator, whose executable is also called 'alex', has been around a dozen years before the linter, and is packaged in the official repositories of the major Linux distributions. This commit adds options to use a local executable for the alex linter (which is a node package), and an option to set a custom executable. As side changes: * The pattern in the alex handler is made more readable by turnig it into a very-magic regex. * Alex handles plain text, markdown, and HTML. Specific flags for HTML and markdown are provided when instantiating the linters for the respective filetypes, while before those formats were treated as plain text.
2019-01-30Respect python black fixer configuration fileAiden Scandella
Similar to other linters/fixers, by default change to the directory of the file being fixed before invoking `black`, which allows the tool to read project-specific configuration (pyproject.toml) Fixes #2218
2019-01-27Add initial ameba (crystal linter) support (#2174)Harrison Bachrach
* Add initial ameba (crystal linter) support Note that this depends on saved file as `ameba` does not have STDIN support * Fix formatting of crystal linter documentation * Add tests for ameba executable customization
2019-01-27Merge pull request #2228 from Nomad145/ktlintw0rp
Add ktlint Fixer Support
2019-01-27Extend statusline interface (#2240)petpetpetpet
* Extended statusline.vim to provide an efficient way to access the first errors,warnings,stylerrors,stylewarnings,etc from the loclist. * Added documentation and help for the new API function.
2019-01-27Add textlint for tex (#2234)TANIGUCHI Masaya
2019-01-27add cmake-format fixer support (#2244)Attila Maczak
2019-01-27SugarSS support from PR 1967 (#2219)Niclas Åhdén
* sugarss support + bonus naming Sass correctly * cleanup + alphabetic ordering
2019-01-27Merge pull request #2235 from erydo/stack-ghc-optionsw0rp
Add g:haskell_stack_ghc_options like …_cabal_ghc_…
2019-01-27Add VHDL Support & Newer Verilog Linters (#2229)John Gentile
* Added VHDL file support with ghdl compiler * Update ghdl.vim * Create vcom.vim * Create xvhdl.vim * Update xvlog.vim * Added documentation for VHDL & Verilog linters * Added tests to VHDL & Verilog linters
2019-01-27Sort documentation entries alphabetically betterw0rp
2019-01-26#2248 Mention tsserver as a JavaScript tool toow0rp
2019-01-26Merge pull request #2250 from m-pilia/banditw0rp
Add bandit linter for Python
2019-01-26Merge pull request #2241 from bk2204/lsp-detect-hookw0rp
Add a hook to detect LSP project root
2019-01-26#2132 Unify temporary file management in command.vimw0rp
2019-01-26Add bandit linter for PythonMartino Pilia
2019-01-26Add additional ways to detect LSP project rootbrian m. carlson
Currently, we detect the linter root based on a variety of techniques. However, these techniques are not foolproof. For example, clangd works fine for many things without a compile_commands.json file, and Go projects may be built outside of the GOPATH to take advantage of Go 1.11's automatic module support. Add global and buffer-specific variables to allow the user to specify the root, either as a string or a funcref. Make the funcrefs accept the buffer number as an argument to make sure that they can function easily in an asynchronous environment. We define the global variable in the main plugin, since the LSP linter code is not loaded unless required, and we want the variable to be able to be read correctly by :ALEInfo regardless.
2019-01-22Add haskell_stack_ghc_options like …_cabal_ghc_…Robert Estelle
Adds new option `g:haskell_stack_ghc_options` which passes options to `stack ghc`. This is implemented similiarly to `g:haskell_cabal_ghc_options`.
2019-01-21Add textDocument/typeDefinition for LSP (#2226)Andrey Popp
* Add textDocument/typeDefinition for LSP Doc to spec https://microsoft.github.io/language-server-protocol/specification#textDocument_typeDefinition This works like textDocument/definition but resolves a location of a type of an expression under the cursor. I'm not sure what to do with tsserver though. * Fix passing column to LSP * test_go_to_definition: wording * Add tests for textDocument/typeDefinition * Add docs for textDocument/typeDefinition
2019-01-20Add support for pyls configuration optionsyut23
Resolves #1443. Heavily inspired by the analogous support added for elixir-ls.
2019-01-20Add ktlint fixer support.Michael Phillips
2019-01-14Mention raco in the list of supported toolsw0rp
2019-01-12Support textlint for reStructuredText (#1978)hokorobi
* Support textlint for reStructuredText * Add linter test for textlint rst
2019-01-10Add textlint for Asciidoc and add it to Fixers (#2193)TANIGUCHI Masaya
* Add textlint for asciidoc * Add textlint --fix
2019-01-08Add briefer help tags for ALE development documentationw0rp
2019-01-07Add ability to manually trigger completion menu (#2177)Jerko Steiner
* Add ability to manually trigger completion menu * Mention :ALEComplete in completion docs * Add test for ALEComplete