aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0a0b6fc..b67bd9c 100644
--- a/README.md
+++ b/README.md
@@ -253,6 +253,17 @@ get_running_ls(win, explicit_syntax)
- `win` - a window in which the language server is running
- `explicit_syntax` - syntax of the language server if it differs from `win.syntax`
+#### `lspc.select`
+
+Select an item from a list of choices by calling the external program specified by `lspc.menu_cmd`.
+
+```lua
+lspc.select(lspc, choices) -- or
+lspc:select(choices)
+```
+
+ - `choices` - A numeric table containing the possible choices
+
## License
All code except otherwise noted is licensed under the term of GPL-3.