summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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-27Merge pull request #2225 from ravicious/masterw0rp
Pass --compiler flag to elm-test when linting 0.19 tests
2019-01-27Add textlint for tex (#2234)TANIGUCHI Masaya
2019-01-27Fix #2192 - Handle more ignore-pattern messages for ESLintw0rp
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 #2207 from pmacosta/masterw0rp
Fixed parsing of pydocstyle errors
2019-01-27Merge pull request #2215 from irwand/masterw0rp
support older flake8 output, still used by hacking module from openstack style guide
2019-01-27Fix #2216 - Tolerate versions without path numbersw0rp
2019-01-27Merge pull request #2235 from erydo/stack-ghc-optionsw0rp
Add g:haskell_stack_ghc_options like …_cabal_ghc_…
2019-01-27Use relative paths when previewing file locations (#2238)Alvin Chan
* Use relative paths when previewing file locations Example: ALEFindReferences -relative
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-27Fix #2195 - Handle the command key being missingw0rp
2019-01-26Merge pull request #2131 from 0mco/masterw0rp
Parse more C/C++ compiler options
2019-01-26Merge pull request #2245 from andrewimeson/adi/add-ksh-supportw0rp
Add better ksh support
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-26test/lsp: ensure linter name is setbrian m. carlson
All linters should have a name variable set in their dictionary, and code should be able to rely on that. Fix this test such that its example linter contains a name entry.
2019-01-24Add better detection for KornShell/kshAndrew Imeson
2019-01-24Fix test name for csh to not say zshAndrew Imeson
2019-01-24Parse more C/C++ compiler optionsLouis Xu
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-22Add `babylon` as default Prettier parser (#2220)Alvin Chan
* Mimic Prettier's default parser by setting it to `babylon` * Add tests to check default Prettier `parser` * Set Prettier default parser based on version * Update the comment to explain the reason for an explicit default
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-21Merge pull request #2224 from andreypopp/andreypopp/lsp-hover-fix-columnw0rp
Adjust column to be 0-based for LSP messages
2019-01-21Merge pull request #2223 from andreypopp/andreypopp/lsp-diagnostics-endw0rp
End position in LSP range is exclusive
2019-01-21Update testsAndrey Popp
2019-01-21Update testsAndrey Popp
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-19Pass --compiler flag to elm-test when linting 0.19 testsRafał Cieślak
This makes elm make linter work when elm is not installed globally.
2019-01-16added hacking compatibility testIrwan Djajadi
2019-01-14Fixed parsing of pydocstyle errorsPablo Acosta-Serafini
ale#Escape function seems to prepend and append ' to the file name, which are not present in the pydocstyle output. Having the parsing regexp match the file name was overkill anyway, since there is an obvious 1:1 correspondence between the buffer number and the (potential) errors reported by pydocstyle.
2019-01-14Racket linting using raco (#2146)Anthony Quizon
2019-01-12#2132 Move CreateTemporaryFileForJob calls into FormatCommandw0rp
2019-01-12Support textlint for reStructuredText (#1978)hokorobi
* Support textlint for reStructuredText * Add linter test for textlint rst
2019-01-12Fix flow tests on Windowsw0rp
2019-01-12Clean up bingo tests, so they pass on my machine toow0rp
2019-01-12#2132 Remove the need for the hidden add_newline option by tweaking the flow ↵w0rp
command
2019-01-10Merge pull request #2191 from davidvandebunte/fixCompDbDirw0rp
bugfix: c.vim: Pull build directory from compilation database
2019-01-10Add textlint for Asciidoc and add it to Fixers (#2193)TANIGUCHI Masaya
* Add textlint for asciidoc * Add textlint --fix
2019-01-09Cflags: added a test caseFrançois-Xavier Carton
2019-01-08bugfix: c.vim: Pull build directory from compilation databaseDavid VandeBunte
The LLVM compiler database JSON already includes a directory where the build was performed: https://clang.llvm.org/docs/JSONCompilationDatabase.html Prefer this directory for fixing relative paths in compiler include arguments in ale#c#ParseCFlags. Without this change, users cannot create a symlink to their compilation database as suggested in the LLVM tooling setup instructions: https://clang.llvm.org/docs/HowToSetupToolingForLLVM.html
2019-01-08Merge pull request #2189 from jeremija/jeremija/manual-autocomplete-wo-prefixw0rp
Manually trigger autocomplete even when prefix is ""