Mercurial > vim
comparison src/tag.c @ 29863:62350f19d4ed v9.0.0270
patch 9.0.0270: some values of 'path' and 'tags' invalid in the tiny version
Commit: https://github.com/vim/vim/commit/2bd9dbc19fc67395cfa1226dda7326071ab22464
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 25 18:12:06 2022 +0100
patch 9.0.0270: some values of 'path' and 'tags' invalid in the tiny version
Problem: Some values of 'path' and 'tags' do not work in the tiny version.
Solution: Graduate the +path_extra feature.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 25 Aug 2022 19:15:03 +0200 |
parents | 1aec47ab35f0 |
children | f5cbf8a4043d |
comparison
equal
deleted
inserted
replaced
29862:ae8c7b51bb54 | 29863:62350f19d4ed |
---|---|
3396 * Copy next file name into buf. | 3396 * Copy next file name into buf. |
3397 */ | 3397 */ |
3398 buf[0] = NUL; | 3398 buf[0] = NUL; |
3399 (void)copy_option_part(&tnp->tn_np, buf, MAXPATHL - 1, " ,"); | 3399 (void)copy_option_part(&tnp->tn_np, buf, MAXPATHL - 1, " ,"); |
3400 | 3400 |
3401 #ifdef FEAT_PATH_EXTRA | |
3402 r_ptr = vim_findfile_stopdir(buf); | 3401 r_ptr = vim_findfile_stopdir(buf); |
3403 #else | |
3404 r_ptr = NULL; | |
3405 #endif | |
3406 // move the filename one char forward and truncate the | 3402 // move the filename one char forward and truncate the |
3407 // filepath with a NUL | 3403 // filepath with a NUL |
3408 filename = gettail(buf); | 3404 filename = gettail(buf); |
3409 STRMOVE(filename + 1, filename); | 3405 STRMOVE(filename + 1, filename); |
3410 *filename++ = NUL; | 3406 *filename++ = NUL; |