ref: versioning
This commit is contained in:
@@ -55,10 +55,10 @@ use {
|
|||||||
- If you want to keep it simple, you can use the `:Neogen` command:
|
- If you want to keep it simple, you can use the `:Neogen` command:
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
" will generate annotation for the function you're inside
|
" will generate annotation for the function, class or other relevant type you're currently in
|
||||||
:Neogen
|
:Neogen
|
||||||
" or you can force a certain type of annotation.
|
" or you can force a certain type of annotation with `:Neogen <TYPE>`
|
||||||
" It'll find the next upper node that matches the type
|
" It'll find the next upper node that matches the type `TYPE`
|
||||||
" E.g if you're on a method of a class and do `:Neogen class`, it'll find the class declaration and generate the annotation.
|
" E.g if you're on a method of a class and do `:Neogen class`, it'll find the class declaration and generate the annotation.
|
||||||
:Neogen func|class|type|...
|
:Neogen func|class|type|...
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -241,6 +241,11 @@ end
|
|||||||
---
|
---
|
||||||
--- Note: We will only document `major` and `minor` versions, not `patch` ones. (only X and Y in X.Y.z)
|
--- Note: We will only document `major` and `minor` versions, not `patch` ones. (only X and Y in X.Y.z)
|
||||||
---
|
---
|
||||||
|
--- ## 2.11.0~
|
||||||
|
--- - Calling `:Neogen` will try to find the best type used to generate annotations (#116)
|
||||||
|
--- It'll recursively go up the syntax tree from the cursor position.
|
||||||
|
--- For example, if a function is defined inside class and the cursor is inside the function,
|
||||||
|
--- the annotation will be generated for the function.
|
||||||
--- ## 2.10.0~
|
--- ## 2.10.0~
|
||||||
--- - Add support for Throw statements in python
|
--- - Add support for Throw statements in python
|
||||||
--- Note: only active for reST template as of right now (please open an issue request for more templates)
|
--- Note: only active for reST template as of right now (please open an issue request for more templates)
|
||||||
@@ -285,7 +290,7 @@ end
|
|||||||
--- with multiple annotation conventions.
|
--- with multiple annotation conventions.
|
||||||
---@tag neogen-changelog
|
---@tag neogen-changelog
|
||||||
---@toc_entry Changes in neogen plugin
|
---@toc_entry Changes in neogen plugin
|
||||||
neogen.version = "2.10.3"
|
neogen.version = "2.11.0"
|
||||||
--minidoc_afterlines_end
|
--minidoc_afterlines_end
|
||||||
|
|
||||||
return neogen
|
return neogen
|
||||||
|
|||||||
Reference in New Issue
Block a user