Mercurial > vim
comparison src/os_dos.h @ 32578:8f0da069a311 v9.0.1621
patch 9.0.1621: FILETYPE_FILE is defined to the same value multiple times
Commit: https://github.com/vim/vim/commit/c81dfaa69ceec9f6b88caf1dcdf2f859d4fcae47
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 8 22:16:23 2023 +0100
patch 9.0.1621: FILETYPE_FILE is defined to the same value multiple times
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
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 08 Jun 2023 23:30:04 +0200 |
parents | 6e3dc2d630c2 |
children | 39cade5fb57a |
comparison
equal
deleted
inserted
replaced
32577:e6d95bfda1d6 | 32578:8f0da069a311 |
---|---|
86 | 86 |
87 #ifndef DFLT_HELPFILE | 87 #ifndef DFLT_HELPFILE |
88 # define DFLT_HELPFILE "$VIMRUNTIME\\doc\\help.txt" | 88 # define DFLT_HELPFILE "$VIMRUNTIME\\doc\\help.txt" |
89 #endif | 89 #endif |
90 | 90 |
91 #ifndef FILETYPE_FILE | |
92 # define FILETYPE_FILE "filetype.vim" | |
93 #endif | |
94 #ifndef FTPLUGIN_FILE | |
95 # define FTPLUGIN_FILE "ftplugin.vim" | |
96 #endif | |
97 #ifndef INDENT_FILE | |
98 # define INDENT_FILE "indent.vim" | |
99 #endif | |
100 #ifndef FTOFF_FILE | |
101 # define FTOFF_FILE "ftoff.vim" | |
102 #endif | |
103 #ifndef FTPLUGOF_FILE | |
104 # define FTPLUGOF_FILE "ftplugof.vim" | |
105 #endif | |
106 #ifndef INDOFF_FILE | |
107 # define INDOFF_FILE "indoff.vim" | |
108 #endif | |
109 | |
110 #ifndef SYNTAX_FNAME | 91 #ifndef SYNTAX_FNAME |
111 # define SYNTAX_FNAME "$VIMRUNTIME\\syntax\\%s.vim" | 92 # define SYNTAX_FNAME "$VIMRUNTIME\\syntax\\%s.vim" |
112 #endif | 93 #endif |
113 | 94 |
114 #ifndef DFLT_BDIR | 95 #ifndef DFLT_BDIR |