summaryrefslogtreecommitdiff
path: root/autoload
AgeCommit message (Collapse)Author
2018-05-28Close #1553 - Support some tsserver completion for stringsw0rp
2018-05-28Fix #1568 - Filter LSP completion results with the prefixesw0rp
2018-05-26Merge pull request #1564 from aliou/ad-alefix-fixer-cmdline-completionw0rp
Use the command line to filter ALEFix's command line completion.
2018-05-26#1600 Alias vimwiki to markdownw0rp
2018-05-25Move the sasslint handlers to one locationw0rp
2018-05-17Do not echo messages to the echo line for mouse movements unless the user ↵w0rp
says so
2018-05-16TUI / GUI tooltip with content from ALEHover (#1556)Gerry Agbobada
* Guard the ballooneval settings * Mark main objectives to do to get nice Hover * Make tweaks to make the tooltip work - See " XXX: comments * Guard balloon_show call * Use return instead of finish for functions * ale#hover#show : Add optional arguments to specify arbtirary position This change is requested to be able to call the function with mouse position to enable hover information in vim's balloon * ale#ballon#Disable : Remove feature guards * ale#balloon : Show 'ALEHover' output on balloon if no diagnostic found * ale#hover#HandleLSPResponse : remove the check for cursor position This check prevented the 'ALEHover in balloon' feature, since mouse position is almost never cursor position. * ale#balloon#MessageForPos : Change the return of balloonexpr balloonexpr evaluation now works even without balloon_show for basic diagnostics, leaving the balloon_show call to ale#hover#Show, which can then feature guard the call to avoid errors * ale#hover#Response : Feature guard balloon_show calls * ale#hover : always display 'Hover' information in messages Also add a small comment to warn readers the different outputs the ale#hover#Show will write to * {LSP,TS}Response : use only variables from the Response It is clearer that we only rely on l:options to get the relevant data to build the LSP Response string * hover#ShowDetails : fix an issue where not having focus broke balloons The issue was caused by not using a buffer-specific version of getline() to cap the value of the column sent in the message to LSP. Therefore a cursor on column 10 in an inactive window could send a message with column=0, if the active window had a buffer with too few lines * {LSP,TS}Response : Remove redundant checks for balloon_show call With the upcoming change in ale_set_balloons default value (see Pull Request w0rp/ale#1565), this check will be useless * balloonexpr? : Add a flag to separate hover#Show() calls The goal of this flag is to make `:ALEHover` calls not pop a balloon under the cursor, since the user has probably no interest in their cursor while typing the command The flag is a default argument which is overridden only in ballonexpr call of ale#hover#Show, and stays set in the hover_map until the callback for the LSP handles it. There are no automated tests for this feature right now, and the nature of the addition (one optional argument in the API) should make it transparent to existing tests. Since the differentiation is now possible, the check for moved cursor has been put back in ale#hover#HandleLSPResponse * ale#hover#hover_map : Protect accesses to hover_map Using get() is safer than trying to access directly with ., as the tests show. * Raise timeout to try to get Appveyor happy * Review : Fix comments * Review : pass the optional argument 'called_from_balloonexpr' in a Dict This optional dictionary has documentation just before the function using it, ale#hover#Show, and allows easier extension in the future.
2018-05-10Use the command line to filter ALEFix's command line completion.Aliou Diallo
2018-05-09Merge pull request #1563 from IngoHeimbach/fix/gcc-fatal-errorw0rp
Fatal GCC errors are handled as errors not warnings
2018-05-09Fatal GCC errors are handled as errors not warningsIngo Heimbach
2018-05-08Merge pull request #1552 from a-marquez/masterw0rp
Add XO fixer
2018-05-03#1503 Call setline() after `d`, in case there are folds at the end of the filew0rp
2018-05-03Add g:ale_completion_excluded_words for completion filteringw0rp
2018-05-02Add XO fixer to fixers registrya-marquez
2018-05-02Add fixer definition for XOa-marquez
2018-04-29Merge pull request #1543 from vancluever/f-add-JobStartedAutoCmdw0rp
Add ALEJobStarted User autocommand event
2018-04-27Add ALEJobStarted User autocommand eventChris Marchesi
The ALELintPre and ALELintPost autocommand events are currently being used by lightline-ale to refresh the status line and check the linter status for a current buffer. One of the plugin's checks looks to see if linters are currently running, via ale#engine#IsCheckingBuffer(). This currently only works partially in certain situations. In my particular case, working with Go files, this only seems to function properly when a file is initially opened. Saving a file does not correctly update the status. This seems to be due to the fact that ALELintPre actually runs before any jobs are carried out, making it plausible that hooking into ALELintPre for the purpose of checking to see if there are any currently running linters for a buffer is unreliable as it would be prone to pretty obvious race conditions. This adds a new User autocommand, ALEJobStarted, that gets fired at the start of every new job that is successfully run. This allows a better point to hook into checking the linter status of a buffer using ale#engine#IsCheckingBuffer() by ensuring that at least one job has started by the time IsCheckingBuffer is run.
2018-04-27Close #1521 - Allow the language to be set with simple strings for LSP lintersw0rp
2018-04-26Close #1428 Implement LSP hover-like functionality for tsserver toow0rp
2018-04-24#1278 Allow linters to be defined pretty much anywherew0rp
2018-04-24#1428 Show multiline hover messages, and document the new commandw0rp
2018-04-23Move autocmd commands out of the toggle file, to improve load timesw0rp
2018-04-22#1428 Start implementing LSP hover supportw0rp
2018-04-22Add support for finding references using LSP servers or tsserverw0rp
2018-04-22Merge pull request #1517 from kfly8/perltidy-fixerw0rp
Added perltidy fixer
2018-04-22Implement a preview window for selecting locations to openw0rp
2018-04-22Close #1162 - Implement completion support with LSP serversw0rp
2018-04-21add perltidy fixerKenta, Kobayashi
2018-04-18Add information that ALEFix can now accept argumentsfenuks
2018-04-18Make ALEFix support argumentsfenuks
2018-04-13Revert "#1277 Try to get eslint_d to run the right version of eslint"w0rp
This reverts commit 56c7957a75d08b011c44cda7ec55864dd7cb5d31.
2018-04-13#1501 Pass the buffer number from BufWritePost on to ale#fix#Fixw0rp
2018-04-13#1277 Try to get eslint_d to run the right version of eslintw0rp
2018-04-12Fix #1495 - Fall back to /bin/sh when shell=pwshw0rp
2018-04-12#1497 Tolerate important ALE variables being undefined for some reason when ↵w0rp
viewing buffers like git commits
2018-04-10Close #1494 - Prefer displaying higher severity problems for cursor ↵w0rp
messages, balloons, and highlights
2018-04-10#1486 - Default exit_code to 1, if it isn't set.w0rp
2018-04-09Close #542 - Add an option for disabling running locally installed ↵w0rp
executables by default
2018-04-08Close #1439 - Add an :ALEInfoToFile commandw0rp
2018-04-08Fix #1424 - Make the brittany fixer workaspidiets
2018-04-08Fix #605 - Support `vcol: 1` for multi-byte character positionsw0rp
2018-04-07Add g:ale_php_cs_fixer_options variable (#1477)Adriaan Zonnenberg
* Add g:ale_php_cs_fixer_options variable * Fix test
2018-04-06Added support for Python black fixer (#1451)Jack Evans
2018-04-05Add fsc linter for Scala (#1452)Nils Leuzinger
* Add fsc as a Scala linter * Pull reused code into `autoload/ale/` directory * Include fsc into the README * Add unit test for testing the scala handler * Add unit test for scala's fsc linter * Rename scala unit tests for clarity * Fix typo in README * Fix typos in doc/ale.txt * Fix author headline * Put methods for fsc commands back into fsc.vim * Move command_callback tests to correct location * Rewrite handler test so it actually tests handler * Clarify description of test in test_scala_handler
2018-03-27Merge pull request #1434 from roel0/masterw0rp
Automatically determine build flags by parsing `make -n` output #1167
2018-03-27Extended unit tests + simplified parsing algoritme #1167roel0
2018-03-26Use the --stdin-filename option for textlint, so configuration files will be ↵w0rp
discovered better
2018-03-26Fix config and executable issues with the textlint linterw0rp
2018-03-25Fix #1404 - Do not show balloons when g:ale_set_balloons is 0. Add ↵v1.8.0w0rp
b:ale_set_balloons
2018-03-24Support textlint for plaintext without textlintrcyasuhiroki