Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize the plugin internals #19

Closed
wants to merge 62 commits into from
Closed

Modernize the plugin internals #19

wants to merge 62 commits into from

Conversation

vigoux
Copy link

@vigoux vigoux commented Aug 14, 2019

First PR in a list of small ones (to come).
The objective here is to 'modernize' the plugin by adapting it to new apis, and maybe use async job control of vim and nvim.

Another objective of this PR is to mitigate the performance issue of LT, by using all its functionalities, like ignoring markup...

TODOS:

@vigoux vigoux changed the title Use JSON API instead of deprecated XML API Modernize the plugin internals Aug 14, 2019
@vigoux
Copy link
Author

vigoux commented Aug 19, 2019

@dpelle, do you agree with the TODO list?

vigoux added 22 commits August 30, 2019 10:10
Moved all functions from the monolithic plugin file to autoload file
Also moved all server management stuff to its proper file
Add the ability to show error at point is the preview window
Also add :LanguageToolErrorAtPoint command to use this feature

Fixes dpelle#16
Fix some spelling mistakes
Updates due configuration changes
Add license to syntax file
Preparation step for the use of the server to know the supported
languages

<`4:#:footer`>
You can now fix errors, you have two ways to do this:
    * Go to the error and use :[count]LanguageToolFixAtPoint
        This will fix error with the [count]th correction
    * Go to the error, hit :LanguageToolErrorAtPoint
        then put the cursor on the correction you want and hit <CR>
Changed fix mistake shortcut to 'f' for consistency
@vigoux
Copy link
Author

vigoux commented Sep 11, 2019

I'm closing this PR as the version of the plugin I run now only supports Neovim, if you want to check it out, it's here : https://github.com/vigoux/LanguageTool.nvim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant