mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +00:00
build: adjust clang-tidy warning exclusion logic
Enable all clang-tidy warnings by default instead of disabling them. This ensures that we don't miss useful warnings on each clang-tidy version upgrade. A drawback of this is that it will force us to either fix or adjust the warnings as soon as possible.
This commit is contained in:
@@ -24,12 +24,6 @@
|
||||
#define MSG_BUF_CLEN (MSG_BUF_LEN / 6) // cell length (worst case: utf-8
|
||||
// takes 6 bytes for one cell)
|
||||
|
||||
#ifdef MSWIN
|
||||
# define _PATHSEPSTR "\\"
|
||||
#else
|
||||
# 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
|
||||
@@ -64,15 +58,15 @@
|
||||
#define DFLT_ERRORFILE "errors.err"
|
||||
|
||||
#ifndef SYS_VIMRC_FILE
|
||||
# define SYS_VIMRC_FILE "$VIM" _PATHSEPSTR "sysinit.vim"
|
||||
# define SYS_VIMRC_FILE "$VIM/sysinit.vim"
|
||||
#endif
|
||||
|
||||
#ifndef DFLT_HELPFILE
|
||||
# define DFLT_HELPFILE "$VIMRUNTIME" _PATHSEPSTR "doc" _PATHSEPSTR "help.txt"
|
||||
# define DFLT_HELPFILE "$VIMRUNTIME/doc/help.txt"
|
||||
#endif
|
||||
|
||||
#ifndef SYNTAX_FNAME
|
||||
# define SYNTAX_FNAME "$VIMRUNTIME" _PATHSEPSTR "syntax" _PATHSEPSTR "%s.vim"
|
||||
# define SYNTAX_FNAME "$VIMRUNTIME/syntax/%s.vim"
|
||||
#endif
|
||||
|
||||
#ifndef EXRC_FILE
|
||||
|
Reference in New Issue
Block a user