neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

file_search.h (851B)


      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.
     10 enum {
     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()
     17 enum {
     18  FNAME_MESS  = 1,   ///< give error message
     19  FNAME_EXP   = 2,   ///< expand to path
     20  FNAME_HYP   = 4,   ///< check for hypertext link
     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"