fix typos in doc/UltiSnips.txt
This commit is contained in:
parent
319ccddcdc
commit
ec9b292ba4
@ -1450,7 +1450,7 @@ the |UltiSnips-context-snippets| section.
|
|||||||
|
|
||||||
Note: special variable called 'snip.buffer' should be used for all buffer
|
Note: special variable called 'snip.buffer' should be used for all buffer
|
||||||
modifications. Not 'vim.current.buffer' and not 'vim.command("...")', because
|
modifications. Not 'vim.current.buffer' and not 'vim.command("...")', because
|
||||||
of in that case UltiSnips will not be able to track changes buffer from
|
of in that case UltiSnips will not be able to track changes in buffer from
|
||||||
actions.
|
actions.
|
||||||
|
|
||||||
'snip.buffer' has the same interface as 'vim.current.window.buffer'.
|
'snip.buffer' has the same interface as 'vim.current.window.buffer'.
|
||||||
@ -1549,7 +1549,7 @@ Jump-expand action declared as follows: >
|
|||||||
snippet ...
|
snippet ...
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
Buffer can be modified in post-expand action code through variable called
|
Buffer can be modified in post-jump action code through variable called
|
||||||
'snip.buffer', snippet expansion position will be automatically adjusted.
|
'snip.buffer', snippet expansion position will be automatically adjusted.
|
||||||
|
|
||||||
Next variables and methods will be also defined in the action code scope:
|
Next variables and methods will be also defined in the action code scope:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user