Mercurial > vim
comparison src/proto/fileio.pro @ 13819:31bb8e1f7625 v8.0.1781
patch 8.0.1781: file names in quickfix window are not shortened
commit https://github.com/vim/vim/commit/a796d46f29e3cc235cc981696d7ee80faccb5000
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 1 14:30:36 2018 +0200
patch 8.0.1781: file names in quickfix window are not shortened
Problem: File names in quickfix window are not always shortened.
Solution: Shorten the file name when opening the quickfix window. (Yegappan
Lakshmanan, closes #2851, closes #2846)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 01 May 2018 14:45:05 +0200 |
parents | 5ed6e4a25925 |
children | 746b95fd25ad |
comparison
equal
deleted
inserted
replaced
13818:28ac7914b2b6 | 13819:31bb8e1f7625 |
---|---|
9 int buf_write(buf_T *buf, char_u *fname, char_u *sfname, linenr_T start, linenr_T end, exarg_T *eap, int append, int forceit, int reset_changed, int filtering); | 9 int buf_write(buf_T *buf, char_u *fname, char_u *sfname, linenr_T start, linenr_T end, exarg_T *eap, int append, int forceit, int reset_changed, int filtering); |
10 void msg_add_fname(buf_T *buf, char_u *fname); | 10 void msg_add_fname(buf_T *buf, char_u *fname); |
11 void msg_add_lines(int insert_space, long lnum, off_T nchars); | 11 void msg_add_lines(int insert_space, long lnum, off_T nchars); |
12 char_u *shorten_fname1(char_u *full_path); | 12 char_u *shorten_fname1(char_u *full_path); |
13 char_u *shorten_fname(char_u *full_path, char_u *dir_name); | 13 char_u *shorten_fname(char_u *full_path, char_u *dir_name); |
14 void shorten_buf_fname(buf_T *buf, char_u *dirname, int force); | |
14 void shorten_fnames(int force); | 15 void shorten_fnames(int force); |
15 void shorten_filenames(char_u **fnames, int count); | 16 void shorten_filenames(char_u **fnames, int count); |
16 char_u *modname(char_u *fname, char_u *ext, int prepend_dot); | 17 char_u *modname(char_u *fname, char_u *ext, int prepend_dot); |
17 char_u *buf_modname(int shortname, char_u *fname, char_u *ext, int prepend_dot); | 18 char_u *buf_modname(int shortname, char_u *fname, char_u *ext, int prepend_dot); |
18 int vim_fgets(char_u *buf, int size, FILE *fp); | 19 int vim_fgets(char_u *buf, int size, FILE *fp); |