languagetool ltex
This commit is contained in:
parent
2673b3ce1e
commit
c30637ace3
|
@ -6,3 +6,4 @@ coc-settings.json
|
|||
lazy-lock.json
|
||||
after
|
||||
**/.DS_Store
|
||||
lua/custom/secret
|
||||
|
|
|
@ -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/",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -303,3 +303,7 @@ libpt
|
|||
T2000
|
||||
TINF22CS
|
||||
Fliegendes/!
|
||||
Gewöhnungsphase
|
||||
Notfallmaßnahmen
|
||||
übergriffig
|
||||
Eligswalde
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue