mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 01:46:29 +00:00
feat(env): remove VIM_VERSION_NODOT macro #34890
Problem: - The VIM_VERSION_NODOT macro maintained support for legacy Vim version-specific runtime directories (e.g., "vim82") which I believe have never been relevant for Neovim Solution: - Remove it - Rename `vim_version_dir()` to `vim_runtime_dir()`
This commit is contained in:
@@ -24,8 +24,6 @@ extern char *version_cflags;
|
||||
#define VIM_VERSION_MINOR_STR STR(VIM_VERSION_MINOR)
|
||||
#define VIM_VERSION_100 (VIM_VERSION_MAJOR * 100 + VIM_VERSION_MINOR)
|
||||
|
||||
// used for the runtime directory name
|
||||
#define VIM_VERSION_NODOT "vim" VIM_VERSION_MAJOR_STR VIM_VERSION_MINOR_STR
|
||||
// swap file compatibility (max. length is 6 chars)
|
||||
#define VIM_VERSION_SHORT VIM_VERSION_MAJOR_STR "." VIM_VERSION_MINOR_STR
|
||||
|
||||
|
Reference in New Issue
Block a user