diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-03 21:31:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-03 21:31:29 -0500 |
commit | 44be2dfca192db9f47d59c6bb29975c9730c5827 (patch) | |
tree | a4c65c0b3e257b75e0a0bfeee1f65b3296b580a4 /src/nvim/spell.c | |
parent | f5e0f17968eae6770cc0da136d8c9a4b23bc6da2 (diff) | |
parent | 2bcae2024230eb4dd1013779ec1b69dc104c4021 (diff) | |
download | rneovim-44be2dfca192db9f47d59c6bb29975c9730c5827.tar.gz rneovim-44be2dfca192db9f47d59c6bb29975c9730c5827.tar.bz2 rneovim-44be2dfca192db9f47d59c6bb29975c9730c5827.zip |
Merge pull request #13434 from janlazo/vim-8.2.2076
vim-patch:8.1.{1013,1774},8.2.{1164,1673,1907,2076,2077,2078,2085,2086}
Diffstat (limited to 'src/nvim/spell.c')
-rw-r--r-- | src/nvim/spell.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c index 797fe41320..5714f5e425 100644 --- a/src/nvim/spell.c +++ b/src/nvim/spell.c @@ -79,7 +79,6 @@ /* for offsetof() */ #include <stddef.h> -#include "nvim/vim.h" #include "nvim/ascii.h" #include "nvim/spell.h" #include "nvim/buffer.h" @@ -6653,7 +6652,7 @@ void spell_dump_compl ( char_u *pat, // leading part of the word int ic, // ignore case - int *dir, // direction for adding matches + Direction *dir, // direction for adding matches int dumpflags_arg // DUMPFLAG_* ) { @@ -6820,7 +6819,9 @@ spell_dump_compl ( // Dumps one word: apply case modifications and append a line to the buffer. // When "lnum" is zero add insert mode completion. -static void dump_word(slang_T *slang, char_u *word, char_u *pat, int *dir, int dumpflags, int wordflags, linenr_T lnum) +static void dump_word(slang_T *slang, char_u *word, char_u *pat, + Direction *dir, int dumpflags, int wordflags, + linenr_T lnum) { bool keepcap = false; char_u *p; @@ -6906,7 +6907,7 @@ dump_prefixes ( slang_T *slang, char_u *word, // case-folded word char_u *pat, - int *dir, + Direction *dir, int dumpflags, int flags, // flags with prefix ID linenr_T startlnum |