Mercurial > vim
view runtime/tools/vimspell.txt @ 33961:07ac92709982 v9.0.2173
patch 9.0.2173: Vim9: crash when compiling for statement and non-existing type
Commit: https://github.com/vim/vim/commit/062bb6b9099f4c92e10465e5ff98db092a3eac1b
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sat Dec 16 14:46:40 2023 +0100
patch 9.0.2173: Vim9: crash when compiling for statement and non-existing type
Problem: Vim9: Vim crashes when compiling a for statement with a
non-existing type
Solution: Error out when lhs_type is not null
closes: #13703
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 16 Dec 2023 15:00:04 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
vimspell.sh =========== This is a simple script to spell check a file and generate the syntax statements necessary to highlight the errors in vim. It is based on a similar program by Krishna Gadepalli <krishna@stdavids.picker.com>. To use this script, first place it in a directory in your path. Next, you should add some convenient key mappings. I use the following (in .vimrc): noremap <F8> :so `vimspell.sh %`<CR><CR> noremap <F7> :syntax clear SpellErrors<CR> This program requires the old Unix "spell" command. On my Debian system, "spell" is a wrapper around "ispell". For better security, you should uncomment the line in the script that uses "tempfile" to create a temporary file. As all systems don't have "tempfile" the insecure "pid method" is used. Neil Schemenauer <nascheme@ucalgary.ca>