diff --git a/.gitignore b/.gitignore index 0cc9af9..ed11bf1 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ coc-settings.json lazy-lock.json after **/.DS_Store +lua/custom/secret diff --git a/lua/custom/configs/lspsettings.lua b/lua/custom/configs/lspsettings.lua index f66f3ff..b2cf427 100644 --- a/lua/custom/configs/lspsettings.lua +++ b/lua/custom/configs/lspsettings.lua @@ -54,6 +54,11 @@ M.ltex = { "html", "xhtml", }, + languageToolOrg = { + apiKey = require "custom.secret.languagetool_token", + username = "accounts@cscherr.de", + languageToolHttpServerUrl = "https://api.languagetoolplus.com/v2/", + }, }, }, } diff --git a/lua/custom/plugins.lua b/lua/custom/plugins.lua index 627bb7f..6448e09 100644 --- a/lua/custom/plugins.lua +++ b/lua/custom/plugins.lua @@ -899,6 +899,21 @@ local plugins = { vim.g.mkdp_echo_preview_url = 1 end, }, + { + "rhysd/vim-grammarous", + enabled = false, + -- TODO: figure out how i can login to languagetool.org + lazy = false, + config = function() + vim.g["grammarous#jar_url"] = "https://www.languagetool.org/download/LanguageTool-5.9.zip" + vim.g["grammarous#use_vim_spelllang"] = 1 + vim.cmd [[ + let g:grammarous#default_comments_only_filetypes = { + \ '*' : 1, 'help' : 0, 'markdown' : 0, + \ } + ]] + end, + }, } return plugins diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add index eacef56..a52f6a5 100644 --- a/spell/en.utf-8.add +++ b/spell/en.utf-8.add @@ -303,3 +303,7 @@ libpt T2000 TINF22CS Fliegendes/! +Gewöhnungsphase +Notfallmaßnahmen +übergriffig +Eligswalde diff --git a/spell/en.utf-8.add.spl b/spell/en.utf-8.add.spl index 24b9864..2fe2d8a 100644 Binary files a/spell/en.utf-8.add.spl and b/spell/en.utf-8.add.spl differ