diff options
author | Yigit Sever | 2019-10-23 02:19:01 +0300 |
---|---|---|
committer | Yigit Sever | 2019-10-23 02:19:27 +0300 |
commit | a117f46f4130485fa2acd57d00d31b140c547039 (patch) | |
tree | 8dd6c7791a240b3fe6b8989cf487762a4d1a3b3a | |
parent | 32086d9efac2042b05201dd6fd830906a0af3ae4 (diff) | |
download | dotfiles-a117f46f4130485fa2acd57d00d31b140c547039.tar.gz dotfiles-a117f46f4130485fa2acd57d00d31b140c547039.tar.bz2 dotfiles-a117f46f4130485fa2acd57d00d31b140c547039.zip |
New latex linter
-rw-r--r-- | .config/nvim/after/ftplugin/tex.vim | 2 | ||||
-rwxr-xr-x | .config/nvim/init.vim | 2 | ||||
-rw-r--r-- | .vale.ini | 5 |
3 files changed, 7 insertions, 2 deletions
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([{ | |||
14 | \ }]) | 14 | \ }]) |
15 | 15 | ||
16 | 16 | ||
17 | let b:ale_linters = ['chktex', 'proselint'] | 17 | 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 | |||
364 | let g:vimtex_view_method = 'zathura' | 364 | let g:vimtex_view_method = 'zathura' |
365 | let g:tex_flavor='latex' | 365 | let g:tex_flavor='latex' |
366 | let g:vimtex_quickfix_mode = 0 | 366 | let g:vimtex_quickfix_mode = 0 |
367 | let g:polyglot_disabled = ['latex'] | 367 | let g:polyglot_disabled = ['latex', 'tex'] |
368 | " }}} | 368 | " }}} |
369 | 369 | ||
370 | " {{{ rainbow | 370 | " {{{ 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 @@ | |||
1 | # Alerts are assigned a level of suggestion, warning, or error. | ||
2 | MinAlertLevel = warning | ||
3 | |||
4 | [*.tex] | ||
5 | BasedOnStyles = write-good, proselint, Joblint | ||