Mercurial > vim
view src/proto/findfile.pro @ 16190:d863beec391a v8.1.1100
patch 8.1.1100: tag file without trailing newline no longer works
commit https://github.com/vim/vim/commit/fd700393becfc35b6fad305221265b87a8564ddb
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Apr 2 21:26:07 2019 +0200
patch 8.1.1100: tag file without trailing newline no longer works
Problem: Tag file without trailing newline no longer works. (Marco Hinz)
Solution: Don't expect a newline at the end of the file. (closes https://github.com/vim/vim/issues/4200)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 02 Apr 2019 21:30:05 +0200 |
parents | 848d4c6e391e |
children | 0f7ae8010787 |
line wrap: on
line source
/* findfile.c */ void *vim_findfile_init(char_u *path, char_u *filename, char_u *stopdirs, int level, int free_visited, int find_what, void *search_ctx_arg, int tagfile, char_u *rel_fname); char_u *vim_findfile_stopdir(char_u *buf); void vim_findfile_cleanup(void *ctx); char_u *vim_findfile(void *search_ctx_arg); void vim_findfile_free_visited(void *search_ctx_arg); char_u *find_file_in_path(char_u *ptr, int len, int options, int first, char_u *rel_fname); void free_findfile(void); char_u *find_directory_in_path(char_u *ptr, int len, int options, char_u *rel_fname); char_u *find_file_in_path_option(char_u *ptr, int len, int options, int first, char_u *path_option, int find_what, char_u *rel_fname, char_u *suffixes); char_u *grab_file_name(long count, linenr_T *file_lnum); char_u *file_name_at_cursor(int options, long count, linenr_T *file_lnum); char_u *file_name_in_line(char_u *line, int col, int options, long count, char_u *rel_fname, linenr_T *file_lnum); char_u *find_file_name_in_path(char_u *ptr, int len, int options, long count, char_u *rel_fname); int vim_ispathlistsep(int c); void uniquefy_paths(garray_T *gap, char_u *pattern); int expand_in_path(garray_T *gap, char_u *pattern, int flags); void simplify_filename(char_u *filename); /* vim: set ft=c : */