diff options
-rwxr-xr-x | .config/nvim/init.vim | 5 |
1 files changed, 5 insertions, 0 deletions
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 | |||
112 | " Resize all windows proportionally when the terminal is resized | 112 | " Resize all windows proportionally when the terminal is resized |
113 | " let terminal resize scale the internal windows | 113 | " let terminal resize scale the internal windows |
114 | autocmd VimResized * :wincmd = | 114 | autocmd VimResized * :wincmd = |
115 | |||
116 | " Set spell for prose | ||
117 | autocmd FileType markdown,tex setlocal spell | ||
115 | "}}} | 118 | "}}} |
116 | 119 | ||
117 | "{{{Misc Settings | 120 | "{{{Misc Settings |
@@ -152,6 +155,8 @@ set splitbelow " new split panes will split to below and right | |||
152 | set splitright | 155 | set splitright |
153 | set cursorline | 156 | set cursorline |
154 | 157 | ||
158 | set thesaurus+=~/.local/share/thesaurus.txt | ||
159 | |||
155 | " persistent undo | 160 | " persistent undo |
156 | set undodir=~/.vim/undodir | 161 | set undodir=~/.vim/undodir |
157 | set undofile | 162 | set undofile |