mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
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
c81dfaa69c
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user