aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/window.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-08-07 09:12:33 +0800
committerGitHub <noreply@github.com>2024-08-07 01:12:33 +0000
commit11a6f3c9301b3deb71f7e5886fce3718420355be (patch)
tree2291e586d0bc8de3411d0e9db402adc994582d77 /src/nvim/window.h
parent0c99ce0e89515de218f2b4e5f270885045868e93 (diff)
downloadrneovim-11a6f3c9301b3deb71f7e5886fce3718420355be.tar.gz
rneovim-11a6f3c9301b3deb71f7e5886fce3718420355be.tar.bz2
rneovim-11a6f3c9301b3deb71f7e5886fce3718420355be.zip
vim-patch:partial:8.1.0914: code related to findfile() is spread out (#30000)
Problem: Code related to findfile() is spread out. Solution: Put findfile() related code into a new source file. (Yegappan Lakshmanan, closes vim/vim#3934) https://github.com/vim/vim/commit/5fd0f5052f9a312bb4cfe7b4176b1211d45127ee Keep functions related to wildcard expansion in path.c, as in Vim they are now spread out among multiple files, which isn't really ideal.
Diffstat (limited to 'src/nvim/window.h')
-rw-r--r--src/nvim/window.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/nvim/window.h b/src/nvim/window.h
index d20b799e20..9618ff1c2a 100644
--- a/src/nvim/window.h
+++ b/src/nvim/window.h
@@ -8,17 +8,6 @@
#include "nvim/option_defs.h" // IWYU pragma: keep
#include "nvim/types_defs.h" // IWYU pragma: keep
-/// Values for file_name_in_line()
-enum {
- FNAME_MESS = 1, ///< give error message
- FNAME_EXP = 2, ///< expand to path
- FNAME_HYP = 4, ///< check for hypertext link
- FNAME_INCL = 8, ///< apply 'includeexpr'
- FNAME_REL = 16, ///< ".." and "./" are relative to the (current)
- ///< file instead of the current directory
- FNAME_UNESC = 32, ///< remove backslashes used for escaping
-};
-
/// arguments for win_split()
enum {
WSP_ROOM = 0x01, ///< require enough room