aboutsummaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2021-10-10 12:58:31 +0300
committereug-vs <eugene@eug-vs.xyz>2021-10-10 12:58:31 +0300
commite89a71a377a1879365a6eab57ef34ef81256cd80 (patch)
tree7302ff46910d03934a98345fc53b5f64556a7475 /nvim
parent07157bfa0388a366a9a148b0fc52820646ef8c17 (diff)
downloaddotfiles-e89a71a377a1879365a6eab57ef34ef81256cd80.tar.gz
feat(nvim): set spelling and linebreak for LaTeX
Diffstat (limited to 'nvim')
-rw-r--r--nvim/.config/nvim/vimwiki.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/nvim/.config/nvim/vimwiki.vim b/nvim/.config/nvim/vimwiki.vim
index 4a35dc6..ab3696d 100644
--- a/nvim/.config/nvim/vimwiki.vim
+++ b/nvim/.config/nvim/vimwiki.vim
@@ -7,7 +7,7 @@ let g:vimwiki_list = [
let g:vimwiki_markdown_link_ext = 1
-autocmd FileType vimwiki setlocal spell wrap linebreak
+autocmd FileType vimwiki,tex setlocal spell wrap linebreak
nnoremap <Leader>c :let &cole=(&cole == 2) ? 0 : 2 <bar> echo 'conceallevel ' . &cole <CR>