Mercurial > vim
view src/proto/spellfile.pro @ 22683:5cbcd3768125 v8.2.1890
patch 8.2.1890: Vim9: strange error for subtracting from a list
Commit: https://github.com/vim/vim/commit/081db1a66d17e46ac3b03b7514f11a004a35009a
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Oct 22 20:09:43 2020 +0200
patch 8.2.1890: Vim9: strange error for subtracting from a list
Problem: Vim9: strange error for subtracting from a list.
Solution: Check getting a number, not a string. (closes https://github.com/vim/vim/issues/7167)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 22 Oct 2020 20:15:03 +0200 |
parents | 3dbff5d37520 |
children |
line wrap: on
line source
/* spellfile.c */ slang_T *spell_load_file(char_u *fname, char_u *lang, slang_T *old_lp, int silent); void suggest_load_files(void); int spell_check_msm(void); void ex_mkspell(exarg_T *eap); void mkspell(int fcount, char_u **fnames, int ascii, int over_write, int added_word); void ex_spell(exarg_T *eap); void spell_add_word(char_u *word, int len, int what, int idx, int undo); /* vim: set ft=c : */