From 5437f3237e5728e5d96f1a85d8fbd66bf6627907 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 24 Oct 2022 11:18:17 -0400 Subject: [PATCH] vim: Don't show spelling errors for CJK characters This makes dealing with CJK files inside vim a much more pleasant experience. Note that automatically handling Shift JIS encoded files is something I haven't implemented yet, although a simple keybind could make things more manageable. --- vim/.vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/vim/.vimrc b/vim/.vimrc index 514e668..db2911d 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -73,6 +73,7 @@ set ignorecase " By default use case-insensitive search (combine set smartcase " Make search case-sensitive when using capital letters set showcmd " Always show the current keybinding being executed set spell " Enable spell check by default +set spelllang=en_us,cjk " Don't show errors for CJK characters set hidden " Switch between buffers without saving them set incsearch " Automatically move to text as you search for it