1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:20:04 +08:00

Fix unknonw v:progpath (#2169)

* Fix unknonw v:progpath

close #2126
This commit is contained in:
Wang Shidong 2018-09-16 10:26:08 +08:00 committed by GitHub
parent 7c9a90498b
commit feaaad3b31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,9 @@
"=============================================================================
function! SpaceVim#health#environment#check() abort
let result = ['SpaceVim environment check report:']
call add(result, 'Current progpath: ' . v:progname . '(' . v:progpath . ')')
" FIXME: old vim does not provide v:progpath, we need a compatible function
" for getting the progpath of current vim.
call add(result, 'Current progpath: ' . v:progname . '(' . get(v:, 'progpath', '') . ')')
call add(result, 'version: ' . v:version)
call add(result, 'OS: ' . SpaceVim#api#import('system').name)
call add(result, '[shell, shellcmdflag, shellslash]: ' . string([&shell, &shellcmdflag, &shellslash]))

View File

@ -80,6 +80,7 @@ The next release is v0.9.0.
- Fix key binding `SPC ?` ([#2109](https://github.com/SpaceVim/SpaceVim/pull/2109))
- Fix python autoflake support ([#2115](https://github.com/SpaceVim/SpaceVim/pull/2115))
- Fix active statusline displaying fileformat info ([#2125](https://github.com/SpaceVim/SpaceVim/pull/2125))
- Fix unkown v:progpath ([#2169](https://github.com/SpaceVim/SpaceVim/pull/2169))
### Removed