diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2021-10-17 16:37:29 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2021-11-06 14:24:46 +0100 |
commit | 2dc0af3a4ff16d311169ce2ecd120dd05778039c (patch) | |
tree | d261dc8ace960132956cf2bcaf9f2104a212511a /src/nvim/buffer_defs.h | |
parent | b092171e7c632a2a6c8841056302ae281d993168 (diff) | |
download | rneovim-2dc0af3a4ff16d311169ce2ecd120dd05778039c.tar.gz rneovim-2dc0af3a4ff16d311169ce2ecd120dd05778039c.tar.bz2 rneovim-2dc0af3a4ff16d311169ce2ecd120dd05778039c.zip |
vim-patch:8.2.3528: 'thesaurus' and 'thesaurusfunc' do not have the same scope
Problem: 'thesaurus' and 'thesaurusfunc' do not have the same scope.
Solution: Make 'thesaurusfunc' global-local.
https://github.com/vim/vim/commit/f4d8b76d304dabc39c06d2344cd4c7b28484811b
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r-- | src/nvim/buffer_defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h index 4f88aa8e76..a1c5ea6924 100644 --- a/src/nvim/buffer_defs.h +++ b/src/nvim/buffer_defs.h @@ -698,7 +698,6 @@ struct file_buffer { #endif char_u *b_p_cfu; ///< 'completefunc' char_u *b_p_ofu; ///< 'omnifunc' - char_u *b_p_tsrfu; ///< 'thesaurusfunc' char_u *b_p_tfu; ///< 'tagfunc' int b_p_eol; ///< 'endofline' int b_p_fixeol; ///< 'fixendofline' @@ -768,6 +767,7 @@ struct file_buffer { unsigned b_tc_flags; ///< flags for 'tagcase' char_u *b_p_dict; ///< 'dictionary' local value char_u *b_p_tsr; ///< 'thesaurus' local value + char_u *b_p_tsrfu; ///< 'thesaurusfunc' local value long b_p_ul; ///< 'undolevels' local value int b_p_udf; ///< 'undofile' char_u *b_p_lw; ///< 'lispwords' local value |