1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 23:40:06 +08:00

build(buffer): log if_py

This commit is contained in:
wsdjeg 2023-04-04 11:25:37 +08:00
parent 21b93650e4
commit cd45afc46b

View File

@ -6,6 +6,8 @@ Execute ( SpaceVim api: vim#buffer open ):
Execute ( SpaceVim api: vim#buffer buf_set_lines):
let buffer = SpaceVim#api#import('vim#buffer')
Log 'if_py:' . has('python')
Log 'if_py3:' . has('python3')
let nr = buffer.bufadd('')
call setbufvar(nr, '&buftype', 'nofile')
call setbufvar(nr, '&buflisted', 0)