summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-13Make tsserver completion more reliable, but not quite ready for ↵w0rp
documentation yet
2017-07-13Merge pull request #767 from elebow/rubocop-handle-empty-files-outputw0rp
Rubocop: handle empty 'files' array in output
2017-07-12Rubocop: handle empty 'files' array in outputEddie Lebow
The handler previously assumed there would be at least one entry in the 'files' array in the output JSON. It looks like this in the normal case: "files":[{"path":"app/models/image.rb","offenses":[]}] But if RuboCop's config excludes the specified input files, causing no files to be linted, the output is emptier: "files":[] This change causes the handler to treat that case correctly, and also exit early if the reported offense_count is zero.
2017-07-12Fix #760 - Report problems with configuration files for rubocopw0rp
2017-07-12Add rails_best_practices handler (resolves #655) (#751)Eddie Lebow
* Move FindRailsRoot() to more general location * Add rails_best_practices handler (resolves #655) * Update documentation for rails_best_practices Also add brakeman to *ale* documentation. * rails_best_practices: allow overriding the executable * rails_best_practices: format help correctly * rails_best_practices: capture tool output on Windows
2017-07-12Merge pull request #762 from bugant/fix-function-doc-for-FindProjectRootw0rp
Fix docs for FindProjectRoot function
2017-07-12Merge pull request #761 from svanharmelen/f-improve-regexw0rp
Fixup #756 (gometalinter)
2017-07-12Fix docs for FindProjectRoot functionMatteo Centenaro
2017-07-12Fixup #756Sander van Harmelen
The real fix was not using absolute paths anymore (so not expanding with the `:p` option). The regex was correct and should at least include the `^` character to make sure the string starts with the given path/filename and not references the path/filename in some error description.
2017-07-11#756 Escape the paths used for the --include parameter for gometalinter, ↵w0rp
which uses RE2
2017-07-11Merge pull request #759 from julianandrews/docs-typo-fixw0rp
Fix documentation typo
2017-07-11Fix documentation typoJulian Andrews
2017-07-11Merge pull request #756 from svanharmelen/b-gometalinterw0rp
Make gometalinter work again
2017-07-11Fix #747 - Lint and fix files after they have been been written to disk, not ↵w0rp
during writing them
2017-07-11Look for ini file to spot python project root (#755)Matteo Centenaro
* Look for ini file to spot project root When looking for the project root folder it would be better to check for some well-known init file instead of __init__.py. Indeed, with python3 it is now possible to have namespace modules where intermediate dirs are not required to include the __init__.py file. * Break if statement conditions over several lines * Add blank lines for the if block * Add test for FindProjectRoot * Typo: missing / for MANIFEST.in * Fix test for non-namespace package * Add more test cases
2017-07-11Make gometalinter work againSander van Harmelen
They changed their logic to use related paths instead of absoluut paths (see [here](https://github.com/alecthomas/gometalinter/commit/a04df08be5899be3c7ad69aa379858dcb660c709#diff-04424ed7c660c10495a54e8d11be89eaR253)) This fixes the linter by also using relative paths…
2017-07-11Prefer --fast for stack-build (#754)Jake Zimmerman
* Vim scripts shouldn't have hyphens Especially not ones that will be autoloaded. You can't have a hyphen in a function name, so autoloading functions based on filename will fail. * Add g:haskell_stack_build_options, default: --fast If we're going to use the --fast option, we may as well go the whole 9 yards and let the user configure the 'stack build' flags. * Create documentation for stack-build options
2017-07-11Merge pull request #752 from elebow/brakeman-cleanup-unused-cache-varw0rp
Brakeman: Remove unused cache var from tests
2017-07-11Fix comment typoEddie Lebow
2017-07-11Brakeman: Remove unused cache var from testsEddie Lebow
2017-07-10Kotlin and general Gradle support. (#745)Michael Pardo
2017-07-10Fix the flow command tests so they will run on my machinew0rp
2017-07-10Fix #749 - Use /bin/sh when the shell is fishw0rp
2017-07-10Fix #730 - Lint files on save even when nothing was fixedw0rp
2017-07-10Fix #746 - Keep highlights from other plugins when buffers are hiddenw0rp
2017-07-09Make every test set filenames and switch directories in the same way, and ↵w0rp
fix some missing escaping for the rubocop linter
2017-07-09Add new Haskell linter (#742)Jake Zimmerman
* Add stack-build linter for Haskell The stack-build linter works better than the other two linters when you're working with an entire Haskell project. It builds the project entirely and reports any errors. The other two Haskell GHC linters only work on single files, which can result in spurious errors (for example, not being able to find imports). * Document all available Haskell linters * Split GHC checkers into separate files
2017-07-09Fix some indentationw0rp
2017-07-09Simplify ale_linters#ruby#rubocop#GetTypew0rp
2017-07-09Use rubocop's JSON output format (resolves #339) (#738)Eddie Lebow
* Use rubocop's JSON output format (resolves #339) Rubocop's emacs formatter seems to have changed format in some not-so-ancient version. The JSON formatter should provide a more stable interface than parsing lines with a regex. The JSON formatter was introduced in mid-2013, so it should be safe to assume available in any reasonably-modern environment. The oldest currently-supported version of ruby (according to ruby-lang.org) was not supported by rubocop until 2014. * Rubocop: Use global function for GetType * Rubocop: Use scope prefix in GetType * Rubocop: Update command_callback test * Rubocop: add end_col to Handle
2017-07-09Fix issues with running individual tests, and get the Vim tests to run on ↵w0rp
certain machines again
2017-07-09Merge pull request #743 from jez/fix-ghc-modw0rp
Correctly resolve temp files on macOS
2017-07-09Correctly resolve temp files on macOSJacob Zimmerman
On macOS, the `$TMPDIR` is in `/var`. However, `/var -> /private/var`. This means that fully resolved temp filenames weren't always getting checked against the proper prefix. This was affecting some of the Haskell plugins, though I'm sure it could have affected any program that resolved past the generated `$TMPDIR/foo` and wound up at a different filename.
2017-07-09Support setting settings with g:ale_pattern_optionsw0rp
2017-07-08Fix a syntax error in an examplew0rp
2017-07-08Added missing statement about `<Plug>(ale_toggle)` mapping to the ↵Andrew Vimmer
documentation (#740) * Added missing statement about a `<Plug>` mapping. * Fixed logical mistake related to "option calling". * Rectified article usage according to a request.
2017-07-08Use different reporter to support older versions of jscs (#737)Jonathan Boudreau
* Use different reporter to support older versions of jscs * Add test and make more consistent with other code * Add documentation for jscs * Add more test coverage
2017-07-08Document how to install yamllintw0rp
2017-07-08Document the virtualenv directories variable in the main file insteadw0rp
2017-07-08Use equal signs for language documentation sectionsw0rp
2017-07-08Update the license yearw0rp
2017-07-07#697 - Clear all highlights every time items are set again, and refactor ↵w0rp
most things. Clear errors when linters are removed
2017-07-07Fix windows path check on rust linter (#736)daa84
* Fix rust linter on windows * Add windows path test * Use ale#path#IsBufferPath to compare paths * Fix errors
2017-07-07#710 - Fix a parsing bug caused by the last fixw0rp
2017-07-07Fix #735 - Support old versions of Flow by only adding --respect-pragma for ↵w0rp
supported versions
2017-07-07#710 - Show warnings as warnings for ghcw0rp
2017-07-07Make the executable for gometalinter configurablew0rp
2017-07-06#732 - Use the configuration files when fixing files with rubocopw0rp
2017-07-06Initialize rubocop variables in one placew0rp
2017-07-06Fix some bad indentationw0rp