feat!: remove jump_text

This commit is contained in:
kevinhwang91
2022-02-06 20:39:07 +08:00
parent 582fd8a2c7
commit 7af0b4ee26
3 changed files with 7 additions and 19 deletions

View File

@@ -95,9 +95,6 @@ Neogen provides those defaults, and you can change them to suit your needs
-- Go to annotation after insertion, and change to insert mode
input_after_comment = true,
-- Symbol to find for jumping cursor in template
jump_text = "$1",
-- Configuration for default languages
languages = {}
}
@@ -112,9 +109,6 @@ Neogen provides those defaults, and you can change them to suit your needs
}
<
- `jump_text` is widely used and will certainly break most language templates.
I'm thinking of removing it from defaults so that it can't be modified
------------------------------------------------------------------------------
*neogen.generate()*
`neogen.generate`({opts})
@@ -366,4 +360,4 @@ If not specified, will use this line for all types.
{required} `(string)` If specified, is used in if the first field of the table is a `table` (example above)
vim:tw=78:ts=8:noet:ft=help:norl:
vim:tw=78:ts=8:noet:ft=help:norl: