2019-05-26 22:01:20 +08:00
|
|
|
---
|
2020-09-14 22:47:49 +08:00
|
|
|
title: "vim#signatures 接口"
|
2019-05-26 22:01:20 +08:00
|
|
|
description: "vim#signatures API 提供一些设置和获取 Vim 提示消息的函数。"
|
2019-10-04 14:13:51 +08:00
|
|
|
lang: zh
|
2019-05-26 22:01:20 +08:00
|
|
|
---
|
|
|
|
|
2020-09-14 22:47:49 +08:00
|
|
|
# [可用接口](../../) >> vim#signatures
|
2019-05-26 22:01:20 +08:00
|
|
|
|
|
|
|
<!-- vim-markdown-toc GFM -->
|
|
|
|
|
|
|
|
- [模块简介](#模块简介)
|
|
|
|
- [函数及变量](#函数及变量)
|
|
|
|
|
|
|
|
<!-- vim-markdown-toc -->
|
|
|
|
|
|
|
|
## 模块简介
|
|
|
|
|
|
|
|
vim#signatures API 提供一些设置和获取 Vim 提示消息的函数。
|
|
|
|
|
|
|
|
## 函数及变量
|
|
|
|
|
|
|
|
| 函数名称 | 功能描述 |
|
|
|
|
| ----------------------- | ----------------------------------------------------- |
|
|
|
|
| `info(line, col, msg)` | show info signature message on specific line and col |
|
|
|
|
| `warn(line, col, msg)` | show warn signature message on specific line and col |
|
|
|
|
| `error(line, col, msg)` | show error signature message on specific line and col |
|
|
|
|
| `clear()` | clear signatures info |
|
|
|
|
| `hi_info_group` | info message highlight group name |
|
|
|
|
| `hi_warn_group` | warn message highlight group name |
|
|
|
|
| `hi_error_group` | error message highlight group name |
|