1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 22:20:06 +08:00
SpaceVim/docs/api/system.md
2018-09-25 22:09:28 +08:00

653 B

title description
system api system API provides some basic 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