Comments (11)
I'll upgrade the default version to v3.4 and will close this issue 👍
from vim-grammarous.
Have you any update on possibly using Grammarous with the more recent versions of LanguageTool?
from vim-grammarous.
OK, I'll fix it later.
But you can try to specify the URL of language-tool as below.
let g:grammarous#jar_url = 'http://path/to/your/favorite/language-tools.zip'
from vim-grammarous.
LanguageTool version 3.2 was released, too.
But this version requires Java 8.
I have no idea that which version is more suitable as default.
https://www.languagetool.org/download/LanguageTool-3.2.zip
from vim-grammarous.
Yes, I thought the same.
I must investigate which version is suitable for default value. At least OS X now uses Java8 by default.
from vim-grammarous.
@rhysd Maybe you can also determine which version is suitable by :if
.
Abstract code is here:
let s:java_ver = matchstr(systemlist('java -version')[0], 'version "\zs.*\ze"')
if s:is_greater_than(s:java_ver, 1.8)
let g:grammarous#jar_url = <LanguageTool 3.2>
elseif s:is_greater_than(s:java_ver, 1.7)
let g:grammarous#jar_url = <LanguageTool 3.1>
else
...
endif
from vim-grammarous.
I don't think Java version is problem (sorry for confusing). I think I can limit Java version >= 8 for vim-grammarous.
What I must investigate is that major version update (3.0) doesn't break vim-grammarous. If vim-grammarous can work with LanguageTool 3.0+, I will update the URL and update Java version requirement to 8.
from vim-grammarous.
Although default version is old, you can specify g:grammarous#jar_url
to use latest version of LanguageTool. Did you try that?
from vim-grammarous.
Just specified latest languagetool jar url and everything works just fine!
from vim-grammarous.
Thank you for the report. You mean v3.4?
from vim-grammarous.
Yes
from vim-grammarous.
Related Issues (20)
- Allow using LanguageTool via TCP port
- Getting "vim-grammarous: Grammar check failed:" error with no additional information. HOT 2
- [Error] exit code 122 HOT 1
- I see last commit was 2020, is this still maintained HOT 2
- How I can auto check my Markdown code HOT 1
- Error when applying fix to last error in file HOT 4
- Breaking changes in LanguageTool HOT 9
- Enable the given level HOT 6
- How to setup on neovim? HOT 1
- Getting a --level message when running GrammarousCheck HOT 1
- Different background colors for vim spellang and grammarous HOT 1
- Weird highlighting with LaTeX HOT 3
- How to install this Plugin with vim plug HOT 3
- error when spelllang language include cjk
- Use languagetool-commandline.cmd installed in the system in windows HOT 2
- Buffer replaced with info window on GrammarCheck
- Bug in `upaired symbol`
- Won't recognize that LanguageTool is installed
- Could it be possible to use grammarous with ltex-ls ?
- Crash with multiple languages in `spelllang`.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-grammarous.