summaryrefslogtreecommitdiff
path: root/test/completion
AgeCommit message (Collapse)Author
2020-11-21Merge pull request #3354 from rphln/collapse-whitespacesw0rp
Collapse spaces and lines in the completion menu.
2020-10-15#3332 Implement :ALERename! for ignoring errorsw0rp
:ALERename! now ignores errors for files that cannot be modified, and modifies all other files.
2020-09-14Collapse spaces and lines in the completion menu.Raphael Nepomuceno
2020-09-08Close #3333 - Add an ALECompletePost eventw0rp
Add an `ALECompletePost` event along with everything needed to make it useful for its primary purpose: fixing code after inserting completions. * `ALEFix` can now be called with a bang (`!`) to suppress errors. * A new `ALELintStop` command lets you stop linting, and start it later.
2020-09-06Close #3268 - Implement :ALEImportw0rp
A new command, `:ALEImport`, has been added, which lets you import words at your cursor if a completion provider can provide a completion for that word which includes some additional text changes.
2020-08-29Fix psalm options. Retry on some test failuresw0rp
2020-08-27#3312 - Just check if additionalTextEdits is non-emptyw0rp
2020-08-27Fix #3312 - Fix a false positive for auto importsw0rp
ALE was incorrectly detecting completion results from servers such as rust-analyzer as wanting to add import lines when additionalTextEdits was present, but empty. Now ALE only filters out completion results if the autoimport setting is off, and one of the additionalTextEdits starts on some line other than the current line. If any additionalTextEdits happen to be identical to the change from completion anyway, ALE will skip them.
2020-08-14Fix #2899 - Handle tsserver default import completionw0rp
2020-08-09Close #3267 - Add a general autoimport settingw0rp
2020-08-09Merge pull request #2849 from DonnieWest/excludeTsserverWarningsw0rp
Allow the user to remove warnings from completions
2020-08-07Fix a failing testw0rp
2020-05-31Add test for LSP autoimportJerko Steiner
2020-04-17Merge pull request #2823 from jeremija/do-not-save-on-autoimportw0rp
Do not save after ALERename and ALEOrganizeImports
2020-01-01Add TypeScript autoimport support for deoplete (#2779)Jerko Steiner
* Add autoimport support for deoplete * Fix test_deoplete_source.py * Use callback instead of is_async for deoplete Shuogo, the author of Deoplete, does not recommend using the `is_async` option: > I think is_async is not recommended. It is not so useful and broken. > You should use callback system instead. Link: https://github.com/Shougo/deoplete.nvim/issues/1006#issuecomment-526797857 Incidentally, the same thread mentiones an issue started by w0rp: https://github.com/Shougo/deoplete.nvim/issues/976 The deoplete docs also say is_async is deprecated: > is_async (Bool) > If the gather is asynchronous, the source must set > it to "True". A typical strategy for an asynchronous > gather_candidates method to use this flag is to > set is_async flag to True while results are being > produced in the background (optionally, returning them > as they become ready). Once background processing > has completed, is_async flag should be set to False > indicating that this is the last portion of the > candidates. > > Note: The feature is deprecated and not recommended. > You should use callback system by > |deoplete#auto_complete()| instead. Link: https://github.com/Shougo/deoplete.nvim/blob/master/doc/deoplete.txt Co-authored-by: w0rp <w0rp@users.noreply.github.com>
2019-11-08Fix typoDonnie West
2019-11-08Allow the user to set their own completion valuesDonnie West
2019-11-08Allow the user to remove warnings from completionsDonnie West
2019-10-22Merge branch 'master' into do-not-save-on-autoimportJerko Steiner
2019-10-18Merge pull request #2845 from DonnieWest/fixItemDetailsOnEmptySourcew0rp
Fix tsserver not returning details for items with empty source
2019-10-17Fix tsserver not returning details for items with empty sourceDonnie West
2019-10-17Allow code actions to work on callback based sourcesDonnie West
2019-10-09Do not save for ALERename and ALEOrganizeImportsJerko Steiner
2019-09-20Show description of autoimport action for tsserverJerko Steiner
2019-09-12Add ALERename (tsserver & LSP), ALEOrganizeImports (tsserver) and auto ↵Jerko Steiner
import support (tsserver) (#2709) This commit adds support for renaming symbols in tsserver and with LSP tools, and for organising imports with tsserver. Completion results for symbols that can be imported are now suggested if enabled for tsserver completion done via ALE.
2019-08-17Add asyncomplete.vim Support (#2627)Donnie West
2019-06-19Add & fix tests for added funcsdelphinus
2019-05-30Fix #2544 - Completion positions are off by onew0rp
2019-05-28Fix #2535 - Automatically emit <C-x><C-o> less to prevent <C-o> issuesw0rp
2019-05-17Close #2285 - Add a function for use with omnifuncw0rp
2019-05-12#2492 - Try to fix a deoplete bug againw0rp
2019-05-11Support b:ale_completion_enabled for disabling it for some buffersw0rp
2019-05-09#2481 - Use text to insert from insertTextw0rp
2019-04-23Close #1753 - Implement minimum viable integration with Deopletew0rp
2019-03-10#2341 - Handle completion messages with textEdit objectsw0rp
2019-03-08Fix #2326 - ALEComplete no longer replaces completeoptw0rp
2019-02-15Fix #2295 - Respond to initialize with an initialized messagew0rp
2019-02-13#2132 Use an on-init callback for all LSP logicw0rp
2019-02-08Fix #2257 - Fix an off by 1 which broke completion for some serversw0rp
2019-01-21Update testsAndrey Popp
2019-01-08Optimize ale#completion#Filter when prefix is ""Jerko Steiner
2019-01-08Manually trigger autocomplete even when prefix is ""Jerko Steiner
2018-09-17#1794 - Handle LSP documentation content as a Dictionaryw0rp
2018-09-12fix non-. prefix triggers overfiltering resultsNick Gavalas
2018-09-11fix tsserver className parsingNick Gavalas
2018-09-07#1888 Support names with minuses in Clojure and Lispw0rp
2018-08-24Use one LSP connection per projectw0rp
2018-07-26#1700 - Try using a 0ms timer showing the completion menuw0rp
2018-07-25#1700 - Temporarily change completion options when the feedkeys() keybind is ↵w0rp
fired
2018-07-23#1751 Handle LSP completion results without the 'kind' attributew0rp