robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
ba0baea620
master
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 { 11FINDFILE_FILE = 0 ,///< only files 12FINDFILE_DIR = 1 ,///< only directories 13FINDFILE_BOTH = 2 ,///< files and directories 14}; 15 16/// Values for file_name_in_line() 17enum { 18FNAME_MESS = 1 ,///< give error message 19FNAME_EXP = 2 ,///< expand to path 20FNAME_HYP = 4 ,///< check for hyperlink url ("foo://") 21FNAME_INCL = 8 ,///< apply 'includeexpr' 22FNAME_REL = 16 ,///< ".." and "./" are relative to the (current) 23///< file instead of the current directory 24FNAME_UNESC = 32 ,///< remove backslashes used for escaping 25}; 26 27#include "file_search.h.generated.h"