robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Justin M. KeyesMerge #37830 docsba0baea620

master
861 B27 linesraw
1#pragma once
2
3#include <stddef.h>  // IWYU pragma: keep
4
5#include "nvim/pos_defs.h"  // IWYU pragma: keep
6#include "nvim/types_defs.h"  // IWYU pragma: keep
7#include "nvim/vim_defs.h"  // IWYU pragma: keep
8
9/// Flags for find_file_*() functions.
10enum {
11  FINDFILE_FILE = 0,  ///< only files
12  FINDFILE_DIR  = 1,  ///< only directories
13  FINDFILE_BOTH = 2,  ///< files and directories
14};
15
16/// Values for file_name_in_line()
17enum {
18  FNAME_MESS  = 1,   ///< give error message
19  FNAME_EXP   = 2,   ///< expand to path
20  FNAME_HYP   = 4,   ///< check for hyperlink url ("foo://")
21  FNAME_INCL  = 8,   ///< apply 'includeexpr'
22  FNAME_REL   = 16,  ///< ".." and "./" are relative to the (current)
23                     ///< file instead of the current directory
24  FNAME_UNESC = 32,  ///< remove backslashes used for escaping
25};
26
27#include "file_search.h.generated.h"