aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/file_search.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/file_search.h')
-rw-r--r--src/nvim/file_search.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/nvim/file_search.h b/src/nvim/file_search.h
index 2450472681..f21d2b8468 100644
--- a/src/nvim/file_search.h
+++ b/src/nvim/file_search.h
@@ -2,6 +2,7 @@
#include <stddef.h> // IWYU pragma: keep
+#include "nvim/pos_defs.h" // IWYU pragma: keep
#include "nvim/types_defs.h" // IWYU pragma: keep
#include "nvim/vim_defs.h" // IWYU pragma: keep
@@ -12,6 +13,17 @@ enum {
FINDFILE_BOTH = 2, ///< files and directories
};
+/// 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
+};
+
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "file_search.h.generated.h"
#endif