summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2019-10-23 02:19:01 +0300
committerYigit Sever2019-10-23 02:19:27 +0300
commita117f46f4130485fa2acd57d00d31b140c547039 (patch)
tree8dd6c7791a240b3fe6b8989cf487762a4d1a3b3a
parent32086d9efac2042b05201dd6fd830906a0af3ae4 (diff)
downloaddotfiles-a117f46f4130485fa2acd57d00d31b140c547039.tar.gz
dotfiles-a117f46f4130485fa2acd57d00d31b140c547039.tar.bz2
dotfiles-a117f46f4130485fa2acd57d00d31b140c547039.zip
New latex linter
-rw-r--r--.config/nvim/after/ftplugin/tex.vim2
-rwxr-xr-x.config/nvim/init.vim2
-rw-r--r--.vale.ini5
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
17let b:ale_linters = ['chktex', 'proselint'] 17let 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
364let g:vimtex_view_method = 'zathura' 364let g:vimtex_view_method = 'zathura'
365let g:tex_flavor='latex' 365let g:tex_flavor='latex'
366let g:vimtex_quickfix_mode = 0 366let g:vimtex_quickfix_mode = 0
367let g:polyglot_disabled = ['latex'] 367let 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.
2MinAlertLevel = warning
3
4[*.tex]
5BasedOnStyles = write-good, proselint, Joblint