mirror of
https://github.com/L3MON4D3/LuaSnip
synced 2024-09-16 21:54:03 +02:00
Auto generate docs
This commit is contained in:
parent
9033373173
commit
f7205269b7
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
*luasnip.txt* For NVIM v0.8.0 Last change: 2024 August 01
|
||||
*luasnip.txt* For NVIM v0.8.0 Last change: 2024 August 06
|
||||
|
||||
==============================================================================
|
||||
Table of Contents *luasnip-table-of-contents*
|
||||
|
@ -3259,6 +3259,8 @@ The node and `event_args` can be accessed through `require("luasnip").session`:
|
|||
`event_args`:
|
||||
- `expand_pos`: `{<row>, <column>}`, position at which the snippet will be
|
||||
expanded. `<row>` and `<column>` are both 0-indexed.
|
||||
- `expand_pos_mark_id`: `number`, the id of the extmark luasnip uses to track
|
||||
`expand_pos`. This may be moved around freely.
|
||||
`event_res`:
|
||||
- `env_override`: `map string->(string[]|string)`, override or extend the
|
||||
snippet’s environment (`snip.env`).
|
||||
|
|
Loading…
Reference in a new issue