From 702d0822b2a9b79602db02797b8ff4816a90c22a Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sun, 8 Dec 2019 18:32:51 +0300 Subject: vim sets spell for prose --- .config/nvim/init.vim | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.config/nvim') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index fab8f58..dfa8a76 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -112,6 +112,9 @@ autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isT " Resize all windows proportionally when the terminal is resized " let terminal resize scale the internal windows autocmd VimResized * :wincmd = + +" Set spell for prose +autocmd FileType markdown,tex setlocal spell "}}} "{{{Misc Settings @@ -152,6 +155,8 @@ set splitbelow " new split panes will split to below and right set splitright set cursorline +set thesaurus+=~/.local/share/thesaurus.txt + " persistent undo set undodir=~/.vim/undodir set undofile -- cgit v1.2.3-70-g09d2