Commit Graph

367 Commits

Author SHA1 Message Date
danymat
985baa1380 fix(py) Support typed default parameters (#60) 2022-02-01 15:06:16 +01:00
github-actions
2f6848055a [docgen] Update doc/neogen.txt
skip-checks: true
2022-02-01 13:07:10 +00:00
danymat
189892c9a9 doc: Add section :h neogen.template_configuration 2022-02-01 14:06:08 +01:00
danymat
aaa8d74abf fix(rs) Show typed parameters 2022-02-01 13:12:36 +01:00
danymat
40bfc7e21a ref!: Extract template codes into template dir
I possibly introduced some bugs in the process, please open an issue if
so.

- This is an attempt to refactor the code and provide re-use of templates
(for example, doxygen or jsdoc)
- I standardized the exposed returned nodes for a template (you can view
  it by going to lua/neogen/types/template.lua)
2022-02-01 12:44:36 +01:00
Daniel Mathiot
7b9157dad0 Merge pull request #58 from kevinhwang91/lua-missing-return-statement
fix(lua): missing return statement for function type
2022-01-31 21:22:13 +01:00
kevinhwang91
efdb89228e fix(lua): missing return statement for function type 2022-02-01 03:34:37 +08:00
Daniel Mathiot
6e56ec6e49 Merge pull request #56 from sdahdah/main
Add space before numpydoc colon
2022-01-30 21:54:46 +01:00
Steven Dahdah
ba39487060 Add space before numpydoc colon 2022-01-30 12:57:22 -05:00
danymat
cda1f0a372 fix(py) better handling of static methods 2022-01-30 16:18:49 +01:00
danymat
33fc37b6b7 (py) Update configurations (#51) 2022-01-30 16:04:51 +01:00
danymat
04f784a8c6 feat: jump_next and jump_prev check if cursor is jumpable 2022-01-30 15:46:53 +01:00
danymat
769fe8c171 fix(readme) Remove wrong codeblock 2022-01-30 15:46:20 +01:00
danymat
f81e2fa87d (cpp) Update configurations (#55) 2022-01-30 15:36:23 +01:00
Daniel Mathiot
ab67d42563 Merge pull request #54 from AckslD/switch-language-on-setup
feat(init) switch language on setup
2022-01-30 15:08:44 +01:00
Axel Dahlberg
10c39fe98b Update lua/neogen/init.lua
Co-authored-by: Daniel Mathiot <d.danymat@gmail.com>
2022-01-30 15:02:23 +01:00
danymat
d46c438cf5 ref(py) Better handling of class methods (#51) 2022-01-30 14:40:25 +01:00
danymat
4e5b4e94aa ref: Update types 2022-01-30 14:40:18 +01:00
Axel Dahlberg
b3b963999f feat(init) switch language on setup 2022-01-30 14:32:25 +01:00
danymat
f1d8f426fd fix(py) Use spaces instead of tabs (#52) 2022-01-30 14:23:04 +01:00
github-actions
034be1d695 [docgen] Update doc/neogen.txt
skip-checks: true
2022-01-30 13:10:24 +00:00
danymat
815ad7a858 doc: Generates table of contents
Special thanks to:
https://github.com/echasnovski/mini.nvim/issues/40#issuecomment-1025136259
2022-01-30 14:09:34 +01:00
danymat
0d381d03d2 feat(py) None return type does not display returns (#51) 2022-01-29 19:56:14 +01:00
danymat
9b7d6e5e81 fix(py) Remove reference to self in functions 2022-01-29 19:54:07 +01:00
danymat
0d00e05b20 (py) Update configurations (#51) 2022-01-29 19:13:41 +01:00
danymat
6c086dcb2f (py) Update configurations 2022-01-29 18:51:10 +01:00
Daniel Mathiot
10f5d4e5e5 Merge pull request #50 from danymat/revert-45-plug_mappings
Revert "add plug mappings"
2022-01-29 15:26:50 +01:00
Daniel Mathiot
274b7f2791 Revert "add plug mappings" 2022-01-29 15:26:28 +01:00
Daniel Mathiot
e13822ed1c Merge pull request #45 from p00f/plug_mappings
Add Plug mappings
2022-01-29 15:18:51 +01:00
Chinmay Dalal
2376ebe432 add plug mappings 2022-01-29 19:46:15 +05:30
danymat
64d152e4c5 (py) Update configurations (#46) 2022-01-29 14:52:22 +01:00
danymat
d6b148667d feat(py) Add reST annotation support (#46) 2022-01-29 13:40:39 +01:00
danymat
30f98ed999 feat: Allow index reordering in after_each option template 2022-01-29 13:38:45 +01:00
danymat
fe44b20a57 fix(py) Always get public parameters for classes 2022-01-29 13:06:53 +01:00
danymat
fb707c0fd3 feat: Add support for tsx and jsx (#34) 2022-01-29 12:45:08 +01:00
danymat
94df6a3d9a (py) Update configurations 2022-01-29 11:40:46 +01:00
danymat
01b7213fbd feat: Add fallback node for custom placement 2022-01-29 11:40:32 +01:00
danymat
71a92a7dec feat: Add support for vue 2022-01-29 11:26:47 +01:00
danymat
749764ab7e (py) Update configurations (Fix #41) 2022-01-29 10:59:27 +01:00
danymat
a03cbd18f4 (lua) Update configurations 2022-01-28 22:14:13 +01:00
Daniel Mathiot
8f0f411136 Update README.md 2022-01-27 00:36:19 +01:00
Daniel Mathiot
a20ac449a8 Create FUNDING.yml 2022-01-27 00:23:00 +01:00
github-actions
5c207a9630 [docgen] Update doc/neogen.txt
skip-checks: true
2022-01-26 14:13:16 +00:00
danymat
a321ae5a62 doc: Update documentation 2022-01-26 15:12:58 +01:00
Daniel Mathiot
283d7c526d Update README.md 2022-01-26 13:21:40 +01:00
github-actions
ffb97ed215 [docgen] Update doc/neogen.txt
skip-checks: true
2022-01-26 12:12:48 +00:00
danymat
8a2688914c fix: install neovim on docgen 2022-01-26 13:12:23 +01:00
danymat
13fb1272cd feat: Update docgen to use mini.nvim documentation generator 2022-01-26 13:10:20 +01:00
danymat
68ee776633 feat: Only load language configs for current language
- I subscribed to the BufEnter autocmd to switch language configs.
  Only previously opened languages are kept inside the languages table
2022-01-26 13:00:57 +01:00
danymat
57e76c6102 ref: Code refactoring
- Try to not expose as much commands and code via neogen
- Use minidoc to generate docgen
2022-01-26 11:50:23 +01:00