Mercurial > vim
comparison src/globals.h @ 17978:8f4cc259ed7a v8.1.1985
patch 8.1.1985: code for dealing with paths is spread out
Commit: https://github.com/vim/vim/commit/26262f87770d3a1a68b09a70152d75c2e2ae186f
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 4 20:59:15 2019 +0200
patch 8.1.1985: code for dealing with paths is spread out
Problem: Code for dealing with paths is spread out.
Solution: Move path related functions from misc1.c to filepath.c.
Remove NO_EXPANDPATH.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 04 Sep 2019 21:00:04 +0200 |
parents | 079e10a49ea1 |
children | 2a806e3c39f6 |
comparison
equal
deleted
inserted
replaced
17977:7fa0c4b6bfa5 | 17978:8f4cc259ed7a |
---|---|
1180 extern char_u *compiled_arch; | 1180 extern char_u *compiled_arch; |
1181 # endif | 1181 # endif |
1182 extern char_u *compiled_user; | 1182 extern char_u *compiled_user; |
1183 extern char_u *compiled_sys; | 1183 extern char_u *compiled_sys; |
1184 #endif | 1184 #endif |
1185 | |
1186 EXTERN char_u *homedir INIT(= NULL); | |
1185 | 1187 |
1186 // When a window has a local directory, the absolute path of the global | 1188 // When a window has a local directory, the absolute path of the global |
1187 // current directory is stored here (in allocated memory). If the current | 1189 // current directory is stored here (in allocated memory). If the current |
1188 // directory is not a local directory, globaldir is NULL. | 1190 // directory is not a local directory, globaldir is NULL. |
1189 EXTERN char_u *globaldir INIT(= NULL); | 1191 EXTERN char_u *globaldir INIT(= NULL); |