From a117f46f4130485fa2acd57d00d31b140c547039 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 23 Oct 2019 02:19:01 +0300 Subject: New latex linter --- .config/nvim/after/ftplugin/tex.vim | 2 +- .config/nvim/init.vim | 2 +- .vale.ini | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .vale.ini diff --git a/.config/nvim/after/ftplugin/tex.vim b/.config/nvim/after/ftplugin/tex.vim index f0272d5..e686414 100644 --- a/.config/nvim/after/ftplugin/tex.vim +++ b/.config/nvim/after/ftplugin/tex.vim @@ -14,4 +14,4 @@ call sandwich#util#addlocal([{ \ }]) -let b:ale_linters = ['chktex', 'proselint'] +let b:ale_linters = ['chktex', 'vale'] diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 2a4498d..cc7e13c 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -364,7 +364,7 @@ let g:vimwiki_global_ext = 0 let g:vimtex_view_method = 'zathura' let g:tex_flavor='latex' let g:vimtex_quickfix_mode = 0 -let g:polyglot_disabled = ['latex'] +let g:polyglot_disabled = ['latex', 'tex'] " }}} " {{{ rainbow diff --git a/.vale.ini b/.vale.ini new file mode 100644 index 0000000..e586d1b --- /dev/null +++ b/.vale.ini @@ -0,0 +1,5 @@ +# Alerts are assigned a level of suggestion, warning, or error. +MinAlertLevel = warning + +[*.tex] +BasedOnStyles = write-good, proselint, Joblint -- cgit v1.2.3-70-g09d2