1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 20:20:05 +08:00
SpaceVim/docs/api/system.md
2020-09-14 22:47:49 +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