neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 49019da86e283052c042509689f3a287056d1340
parent 106922898ad1510954737d38e7f8db78559ae6bd
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Fri,  9 Jun 2023 21:30:29 +0800

vim-patch:9.0.1621: FILETYPE_FILE is defined to the same value multiple times (#23965)

Problem:    FILETYPE_FILE is defined to the same value multiple times.  Same
            for a few similar macros.
Solution:   Define FILETYPE_FILE and others in feature.h only

https://github.com/vim/vim/commit/c81dfaa69ceec9f6b88caf1dcdf2f859d4fcae47

Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat:
Msrc/nvim/globals.h | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/nvim/globals.h b/src/nvim/globals.h @@ -29,8 +29,15 @@ # define _PATHSEPSTR "/" #endif +// FILETYPE_FILE used for file type detection +// FTPLUGIN_FILE used for loading filetype plugin files +// INDENT_FILE used for loading indent files +// FTOFF_FILE used for file type detection +// FTPLUGOF_FILE used for loading settings files +// INDOFF_FILE used for loading indent files + #ifndef FILETYPE_FILE -# define FILETYPE_FILE "filetype.lua filetype.vim" +# define FILETYPE_FILE "filetype.lua filetype.vim" #endif #ifndef FTPLUGIN_FILE