显然,拼写检查是 vim 中的默认设置。但是,许多(实际上大多数 - 154 个带有拼写声明,而 397 个没有)附带的语法文件似乎不包含 @Spell 声明。例如,在 C++ 中,如果设置了拼写,则所有内容都会进行拼写检查,而不仅仅是有些合理的注释。
(C++ 是我目前最关心的,尽管还有其他我想拼写的,例如 Haskell)。
我错过了什么吗?是否有包含这些拼写声明的标准语法文件版本?
vim --version:
Huge version with GTK2 GUI. Features included (+) or not (-):
+arabic +file_in_path +mouse_sgr +tag_binary
+autocmd +find_in_path -mouse_sysmouse +tag_old_static
+balloon_eval +float +mouse_urxvt -tag_any_white
+browse +folding +mouse_xterm -tcl
++builtin_terms -footer +multi_byte +terminfo
+byte_offset +fork() +multi_lang +termresponse
+cindent +gettext -mzscheme +textobjects
+clientserver -hangul_input +netbeans_intg +title
+clipboard +iconv +path_extra +toolbar
+cmdline_compl +insert_expand -perl +user_commands
+cmdline_hist +jumplist +persistent_undo +vertsplit
+cmdline_info +keymap +postscript +virtualedit
+comments …Run Code Online (Sandbox Code Playgroud)