mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 10:18:18 +00:00
refactor: fix clang-tidy warnings
Enable and fix bugprone-misplaced-widening-cast warning. Fix some modernize-macro-to-enum and readability-else-after-return warnings, but don't enable them. While the warnings can be useful, they are in general too noisy to enable.
This commit is contained in:
@@ -33,8 +33,10 @@
|
||||
#include "nvim/vim.h"
|
||||
#include "nvim/window.h"
|
||||
|
||||
#define URL_SLASH 1 // path_is_url() has found ":/"
|
||||
#define URL_BACKSLASH 2 // path_is_url() has found ":\\"
|
||||
enum {
|
||||
URL_SLASH = 1, // path_is_url() has found ":/"
|
||||
URL_BACKSLASH = 2, // path_is_url() has found ":\\"
|
||||
};
|
||||
|
||||
#ifdef gen_expand_wildcards
|
||||
# undef gen_expand_wildcards
|
||||
|
Reference in New Issue
Block a user