diff options
author | Yigit Sever | 2019-12-08 18:32:51 +0300 |
---|---|---|
committer | Yigit Sever | 2019-12-08 18:32:51 +0300 |
commit | 702d0822b2a9b79602db02797b8ff4816a90c22a (patch) | |
tree | fc0f17d31319f2e91def048216a96fb43a356ca6 /.config/nvim | |
parent | 2c523ef1eb51ab9e0e9b1ba6bc30c117396bb331 (diff) | |
download | dotfiles-702d0822b2a9b79602db02797b8ff4816a90c22a.tar.gz dotfiles-702d0822b2a9b79602db02797b8ff4816a90c22a.tar.bz2 dotfiles-702d0822b2a9b79602db02797b8ff4816a90c22a.zip |
vim sets spell for prose
Diffstat (limited to '.config/nvim')
-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 |