w0rp
2edea15358
Fix the resetting of selections and annotate it
2017-08-07 22:08:35 +01:00
Adrian Kocis
c18451fba9
added missing visual reselection after quick/location list update ( #788 )
...
Reset visual selection after opening loclist or quickfix windows
2017-08-07 21:57:59 +01:00
w0rp
593cafa18b
Fix #823 - Write Windows files with CRLF
2017-08-05 20:17:25 +01:00
w0rp
747d4fe80b
Stop writing a test file in real world usage in some cases
2017-08-05 19:51:38 +01:00
w0rp
666cfc6ee2
Fix the completion start position regex matching being off by one
2017-08-04 16:15:48 +01:00
w0rp
9ac74c44fe
Tell Vim omnicompletion that tsserver matches are case-insensitive
2017-08-04 13:35:02 +01:00
w0rp
09d50ebe31
Cover the Rust LSP with tests, allow LSP linters to be named anything, and rename the Rust LSP linter to rls
2017-08-02 23:21:30 +01:00
w0rp
a4ffd2f37c
#734 - Use the buffer number from the events for entering buffers and saving buffers for checking buffers
2017-08-01 00:03:24 +01:00
w0rp
ec82530247
#734 - Do not clear file linter results when no buffers are run
2017-07-31 22:36:30 +01:00
Mahmoud Mostafa
eaeb71993f
Add stylelint fixer
2017-07-31 02:54:59 +02:00
w0rp
2c252c0f12
#517 - Get the Rust language server working in a basic way
2017-07-30 23:34:58 +01:00
w0rp
6000d956f0
When servers never send an initialize response, but instead just publish diagnostics straight away, handle that as an initialize response
2017-07-30 22:18:19 +01:00
w0rp
5810d7faa0
Add some error message handling for LSP, for test purposes
2017-07-30 22:17:29 +01:00
w0rp
84af543907
Fix some bugs so the PHP language server will show errors at least once
2017-07-30 14:42:00 +01:00
w0rp
63b9d9e9df
Fix #798 - Handle syntax errors for tsserver
2017-07-27 13:24:32 +01:00
w0rp
db4d68eae7
Add a fuzzy JSON decoding function for ignoring json_decode errors for linters
2017-07-27 00:06:15 +01:00
w0rp
810e884dbe
Remove channel logging
2017-07-26 10:45:21 +01:00
w0rp
fbf59fd4ce
Check the active_linter_list only for running linters
2017-07-26 10:44:27 +01:00
w0rp
cfdb41f4d2
Remove a redundant check for tsserver
2017-07-26 10:44:07 +01:00
w0rp
cd860e3e8d
#517 Add more code LSP support which makes the tssserver linter behave more like the LSP linters
2017-07-26 10:37:37 +01:00
w0rp
e45c16d9bb
Fix #796 - Ignore errors for closing the last window
2017-07-24 09:30:41 +01:00
w0rp
b4d23d700b
Set the g:ale_completion_enabled option when completion is enabled or disabled
2017-07-24 09:22:29 +01:00
w0rp
a0059cfe03
Fix #795 - Handle GCC errors without column numbers
2017-07-23 00:39:59 +01:00
w0rp
12217480f9
Merge pull request #781 from sumnerevans/standard-fixer
...
Added fixer for Standard linter
2017-07-22 19:33:42 +01:00
Sumner Evans
f3fec6685e
added tests for Standard.js
2017-07-21 11:47:41 -06:00
w0rp
ee6dabcc4e
Don't mess with compleopt for each completion, as it doesn't work
2017-07-21 14:55:32 +01:00
w0rp
a5f754a5e0
Fix #786 - Only set --no-local-style for yapf if a configuration file is detected
2017-07-20 11:07:07 +01:00
Sumner Evans
ca83f11bee
added fixer for Standard
2017-07-19 14:50:33 -06:00
w0rp
0931e99ea4
Fix #775 - Run eslint.js via node on Windows for eslint --fix
2017-07-18 12:28:20 +01:00
w0rp
a6cc492a99
Limit the suggestions only after filtering them
2017-07-17 17:39:11 +01:00
w0rp
27feab7e3a
Filter the completion results by the prefix we used
2017-07-17 15:31:32 +01:00
w0rp
4fa66ab627
Fix #560 #763 - Silence errors for setting signs, and do nothing for dirvish
2017-07-16 01:15:07 +01:00
w0rp
cad9fc19c6
Fix #773 - Do not clear the loclist when closing the loclist window
2017-07-15 18:44:45 +01:00
w0rp
4c6c5bf84f
#697 - Remove highlights more thoroughly
2017-07-13 23:27:02 +01:00
w0rp
f7f6f6541d
Make tsserver completion more reliable, but not quite ready for documentation yet
2017-07-13 11:59:33 +01:00
Eddie Lebow
bc32e24203
Add rails_best_practices handler ( resolves #655 ) ( #751 )
...
* 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-12 10:43:47 +01:00
Matteo Centenaro
ff80b23ee1
Fix docs for FindProjectRoot function
2017-07-12 10:00:42 +02:00
w0rp
340c0bbac5
#756 Escape the paths used for the --include parameter for gometalinter, which uses RE2
2017-07-11 23:47:21 +01:00
Matteo Centenaro
505d114a68
Look for ini file to spot python project root ( #755 )
...
* 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-11 21:57:37 +01:00
Eddie Lebow
78e0029488
Fix comment typo
2017-07-11 01:30:28 -04:00
Michael Pardo
d787050fa8
Kotlin and general Gradle support. ( #745 )
2017-07-10 23:03:36 +01:00
w0rp
751d965265
Fix #749 - Use /bin/sh when the shell is fish
2017-07-10 21:35:35 +01:00
w0rp
b44f6053d1
Fix #730 - Lint files on save even when nothing was fixed
2017-07-10 13:40:22 +01:00
w0rp
82dd80c692
Fix #746 - Keep highlights from other plugins when buffers are hidden
2017-07-10 00:02:49 +01:00
w0rp
6a84605c57
Make every test set filenames and switch directories in the same way, and fix some missing escaping for the rubocop linter
2017-07-09 22:43:31 +01:00
w0rp
836a2cfe3b
Fix issues with running individual tests, and get the Vim tests to run on certain machines again
2017-07-09 14:58:21 +01:00
Jacob Zimmerman
a70591fa76
Correctly resolve temp files on macOS
...
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-09 02:16:46 -05:00
w0rp
ab47011ef2
Support setting settings with g:ale_pattern_options
2017-07-09 00:10:28 +01:00
w0rp
8eb4f95766
#697 - Clear all highlights every time items are set again, and refactor most things. Clear errors when linters are removed
2017-07-07 23:47:41 +01:00
daa84
46225f3bb1
Fix windows path check on rust linter ( #736 )
...
* Fix rust linter on windows
* Add windows path test
* Use ale#path#IsBufferPath to compare paths
* Fix errors
2017-07-07 17:03:17 +01:00