From db1d357d3f7e47df19c0d8bc443840d01475f033 Mon Sep 17 00:00:00 2001 From: Pinghao Wu Date: Sun, 6 Oct 2024 10:23:45 +0800 Subject: [PATCH] vim: enable spell --- .config/vim/vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/vim/vimrc b/.config/vim/vimrc index 883b6f0..8ab7261 100644 --- a/.config/vim/vimrc +++ b/.config/vim/vimrc @@ -24,6 +24,8 @@ set laststatus=1 set bg=dark set title set mouse= +set spell +set spelllang=en_us,cjk set backupdir=$HOME/.cache/vim/backup | call mkdir(&backupdir, 'p', 0700) set directory=$HOME/.cache/vim/swap | call mkdir(&directory, 'p', 0700) set viewdir=$HOME/.cache/vim/view | call mkdir(&viewdir, 'p', 0700) -- 2.45.2