1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:30:03 +08:00
SpaceVim/docs/api/system.md
Wang Shidong 3eb94b292e
Improve system api (#1780)
* Improve system api

* Update apis

* Update apis

* Update apis

* Update apis

* Update apis

* Update file api

* Update build options of vimproc
2018-06-03 10:40:11 +08:00

653 B

title description
system api system API provides some besic functions and values for current os.

Available APIs >> system

values

name values description
isWindows 0 or 1 check if the os is windows
isLinux 0 or 1 check if the os is linux
isOSX 0 or 1 check if the os is OSX
isDarwin 0 or 1 check if the os is Darwin

functions

name description
fileformat return the icon of current file format