1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-01 01:40:05 +08:00
SpaceVim/docs/api/unicode/box.md
2020-12-19 22:27:24 +08:00

31 lines
670 B
Markdown

---
title: "unicode#box API"
description: "unicode#box API provides some basic functions for drawing box."
---
# [Available APIs](../../) >> unicode#box
<!-- vim-markdown-toc GFM -->
- [Intro](#intro)
- [Functions](#functions)
<!-- vim-markdown-toc -->
## Intro
`unicode#box` API provides some basic functions for drawing box and table.
```vim
let s:SPI = SpaceVim#api#import('unicode#box')
call s:SPI.apply('dot1', 'g:dotstr')
set statusline+=%{g:dotstr}
```
## Functions
| function name | description |
| ------------------------ | ------------------------------ |
| `apply(name, time, var)` | start a job, return the job id |