mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 21:00:03 +08:00
build(buffer): log if_py
This commit is contained in:
parent
21b93650e4
commit
cd45afc46b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user