Add linter alias for tex file type

This commit is contained in:
ducnn 2022-10-10 00:11:01 +07:00
parent c2ce602c88
commit b869545904

View File

@ -143,9 +143,9 @@ augroup END
silent call IBusOff()
"Language tool
let b:ale_linter_aliases = ['tex', 'text', 'html']
let g:ale_linter_aliases = {'tex': ['tex', 'markdown']}
let g:ale_languagetool_executable = "java"
let g:ale_languagetool_options = "-jar /data/runtimes/languagetool/languagetool-commandline.jar --languagemodel /data/runtimes/languagemodel/ --word2vecmodel /data/runtimes/word2vec/ --disable WHITESPACE_RULE,COMMA_PARENTHESIS_WHITESPACE"
let g:ale_languagetool_options = "-jar /data/runtimes/languagetool/languagetool-commandline.jar --languagemodel /data/runtimes/languagemodel/ --word2vecmodel /data/runtimes/languagemodel/ --disable WHITESPACE_RULE,COMMA_PARENTHESIS_WHITESPACE"
let g:ale_disable_lsp = 1
map <F3> :ALEToggle<CR>