Commit Graph

506 Commits

Author SHA1 Message Date
Danymat
4a2f68d3ea Update test.yml 2024-07-23 18:39:16 +02:00
Danymat
0f08a6123d ref: Use ensure_installed for quicker runs
feat: Try using 0.11.0 for tests
2024-07-23 18:35:05 +02:00
github-actions
519e819ca1 [docgen] Update doc/neogen.txt
skip-checks: true
2024-07-23 16:18:28 +00:00
Colin Kennedy
fef1ab3932 Added unittest + basic python and lua unittests (#174)
---------

Co-authored-by: Danymat <d.danymat@gmail.com>
2.18.0
2024-07-23 18:18:14 +02:00
Andres Mendez
6de0add480 fix: functions with only bare returns now evaluate properly (#171) 2024-05-13 14:49:42 +02:00
Pavel Zolotarevskiy
e7be3a9022 fix: add a missing newline in numpydoc template (#177) 2024-05-13 14:47:50 +02:00
Colin Kennedy
0daffcec24 Added parse rule for exceptions from a module (#168) 2.17.1 2024-03-23 08:22:10 +01:00
github-actions
b95347a588 [docgen] Update doc/neogen.txt
skip-checks: true
2024-03-03 22:06:53 +00:00
danymat
e5460f2ad8 feat(py): Add support for @dataclass attributes
Closes #126
2.17.0
2024-03-03 23:06:04 +01:00
github-actions
63ca9609be [docgen] Update doc/neogen.txt
skip-checks: true
2024-03-03 21:09:02 +00:00
Colin Kennedy
3f65d096aa fix(py): Python returns now respect nested functions (#158)
* Added validate_direct_returns

Added missing  statement

* doc: Version

* doc: Version

---------

Co-authored-by: danymat <d.danymat@gmail.com>
2.16.1
2024-03-03 22:08:47 +01:00
github-actions
7bf529e3e4 [docgen] Update doc/neogen.txt
skip-checks: true
2024-03-03 20:56:23 +00:00
Sachin Rawat
f10d046863 Add support for nvim snippet engine (vim.snippet) (#164)
* doc: Add reference to `:h vim.snippet`
* doc: Update docs

---------

Co-authored-by: danymat <d.danymat@gmail.com>
2.16.0
2024-03-03 21:56:10 +01:00
github-actions
3e97116543 [docgen] Update doc/neogen.txt
skip-checks: true
2024-03-03 20:42:49 +00:00
Amaan Qureshi
a9641d131c Remove usage of nvim-treesitter utilities (#152)
`vim.treesitter` is now shipped, therefore nvim-treesitter plugin is not needed anymore as a requirement.
References to nvim-treesitter was deleted in the code and the README points to `:h treesitter-parsers`

---------

Co-authored-by: danymat <d.danymat@gmail.com>
2.15.3
2024-03-03 21:42:36 +01:00
pseudometa
70127baaff fix: no surrounding spaces for one-line-docstring (#154) 2023-09-09 13:12:20 +02:00
github-actions
1dd0319ccf [docgen] Update doc/neogen.txt
skip-checks: true
2023-06-09 00:35:04 +00:00
Colin Kennedy
cb1f384df8 Python nested function fix - inner functions do not strip their first parameter (#151) 2.15.2 2023-06-09 02:34:48 +02:00
github-actions
d8c8145304 [docgen] Update doc/neogen.txt
skip-checks: true
2023-06-07 19:56:45 +00:00
danymat
2f154166b4 fix(py): Only count first identifier in default_parameter (fix #148)
Default parameters such as:

```python
def test(foo=delimiter):
   pass
```

where counting `delimiter` as Parameters. To fix that, I only return the first child in a `default_parameter` tree
2.15.1
2023-06-07 21:56:21 +02:00
Colin Kennedy
a9f560b490 feat(py): Added Python "Yields:" support for Google-style docstrings (#147)
* Added basic Python yield support

Removed syntax error

Added missing docstring

Added missing end statement

* Bumped the minor version to 2.15.0
2.15.0
2023-06-07 19:33:17 +02:00
github-actions
72238bfb70 [docgen] Update doc/neogen.txt
skip-checks: true
2023-05-31 11:21:46 +00:00
Colin Kennedy
63f994fc79 fix(python): Bare-returns are filtered from docstring output (#145)
* Python docstrings - bare-returns are filtered from docstring output

* Stylua

* doc: Version

---------

Co-authored-by: danymat <d.danymat@gmail.com>
2.14.1
2023-05-31 13:21:30 +02:00
github-actions
9fa736a227 [docgen] Update doc/neogen.txt
skip-checks: true
2023-05-31 11:04:13 +00:00
Colin Kennedy
a113ca9a54 feat(python): Add Raises: block for google_docstrings (#143)
* Added Google docstring Raises: block

* Added Google docstring change to the Changelog

* Fixed duplicate "Raises:" block, for Python google-style docstrings

* doc: Version

---------

Co-authored-by: danymat <d.danymat@gmail.com>
2.14.0
2023-05-31 13:03:58 +02:00
Colin Kennedy
e449d5b7ff fix(python) Do not duplicate "Throw" annotations (#142)
* Fixed Python docstring duplicate throw parsing error
* ref(python): remove unecessary recursive
* Stylua

---------

Co-authored-by: danymat <d.danymat@gmail.com>
2023-05-31 12:50:53 +02:00
danymat
de603d2f83 fix(php): Do not duplicate returns (#138) 2023-05-22 13:07:41 +02:00
github-actions
d789a5a2e0 [docgen] Update doc/neogen.txt
skip-checks: true
2023-05-22 11:06:29 +00:00
danymat
84e6f5b714 fix: stylua 2023-05-12 17:31:04 +02:00
repo-visualizer
c0fd3dc9e7 Repo visualizer: updated diagram 2023-05-03 23:15:21 +00:00
danymat
abfd0ebfe6 Update visualizer.yml 2023-05-04 01:15:08 +02:00
repo-visualizer
38b1ba4b7e Repo visualizer: updated diagram 2023-05-03 23:13:12 +00:00
danymat
eceed1ed2c Update README.md 2023-05-04 01:13:00 +02:00
repo-visualizer
737d0187b6 Repo visualizer: updated diagram 2023-05-03 23:08:36 +00:00
danymat
297f6a9b8e Create visualizer.yml 2023-05-04 01:08:22 +02:00
Walid Chtioui
9c17225aac fix: Rename csharp -> cs (#134) 2023-03-27 20:46:25 +02:00
github-actions
cebe581536 [docgen] Update doc/neogen.txt
skip-checks: true
2023-03-27 18:42:40 +00:00
Yuta Katayama
353c5ef8e5 fix: Use vim.treesitter.get_node_text() to avoid deprecation warning (#135)
* fix: Use vim.treesitter.get_node_text() to avoid deprecation warning

* ref: Bump neogen version

---------

Co-authored-by: danymat <d.danymat@gmail.com>
2.13.2
2023-03-27 20:42:17 +02:00
github-actions
93d997dbdd [docgen] Update doc/neogen.txt
skip-checks: true
2023-02-21 10:01:41 +00:00
Daniel
349121d869 Merge pull request #129 from yutkat/main
fix: Rename ts_utils.get_node_range -> vim.treesitter.get_node_range
2.13.1
2023-02-21 11:01:25 +01:00
danymat
b460ab70df ref: Bump neogen version 2023-02-21 11:00:35 +01:00
Yuta Katayama
297795f3cd fix: Rename ts_utils.get_node_range -> vim.treesitter.get_node_range 2023-02-12 23:36:51 +09:00
Daniel
465af9d6c6 Merge pull request #125 from itepechi/main
JSDoc and TSDoc should always start with two asterisks
2023-01-16 10:32:03 +01:00
itepechi
9a781be7f6 fix(js/ts): {JS,TS}Doc should always start with two asterisks 2023-01-15 18:51:36 +09:00
github-actions
0958aeffcd [docgen] Update doc/neogen.txt
skip-checks: true
2023-01-12 21:38:31 +00:00
Daniel
fbc3952024 Merge pull request #124 from cdbrendel/fix-python-args
Fix parameters in python docstrings
2.13.0
2023-01-12 22:38:13 +01:00
danymat
5a9ac284d4 ref: Versioning 2023-01-12 22:37:18 +01:00
danymat
ffefbd27ba ref: Use typed parameters 2023-01-12 22:30:28 +01:00
Chris Brendel
6514bb1b50 removed type from docstring when type hint is given 2023-01-12 15:29:09 -05:00
Chris Brendel
56620c0191 restored behavior removing self/cls argument for func in class 2023-01-12 15:27:55 -05:00