diff --git a/doc/UltiSnips.txt b/doc/UltiSnips.txt index c6b3ace..88d1ec4 100644 --- a/doc/UltiSnips.txt +++ b/doc/UltiSnips.txt @@ -1450,7 +1450,7 @@ the |UltiSnips-context-snippets| section. Note: special variable called 'snip.buffer' should be used for all buffer 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. 'snip.buffer' has the same interface as 'vim.current.window.buffer'. @@ -1549,7 +1549,7 @@ Jump-expand action declared as follows: > snippet ... 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. Next variables and methods will be also defined in the action code scope: