Commit Graph

165 Commits

Author SHA1 Message Date
Daniel Mathiot
d99f86ca06 Update README.md 2021-09-28 10:56:09 +02:00
Daniel Mathiot
d838a42abd Update README.md 2021-09-28 10:48:43 +02:00
Daniel Mathiot
51d1906dfb Delete recording_1.mov 2021-09-28 10:41:31 +02:00
Daniel Mathiot
76f379629f Update README.md 2021-09-28 10:36:47 +02:00
Daniel Mathiot
780584acd9 Update README.md 2021-09-12 19:49:28 +02:00
Daniel Mathiot
ba98b965e6 (go) Add support for godoc 2021-09-12 19:42:29 +02:00
Daniel Mathiot
7b8631697d (lua) Fix nested functions sometimes not being found 2021-09-12 17:45:36 +02:00
Daniel Mathiot
b77ac73661 Fix error in tab completion 2021-09-08 13:43:41 +02:00
Daniel Mathiot
86456a3699 <Tab> only works if you're in annotated range 2021-09-08 12:25:11 +02:00
Daniel Mathiot
7c7d03e665 Update docs 2021-08-31 12:20:24 +02:00
Daniel Mathiot
0c2c865ce0 Merge branch 'main' of https://github.com/danymat/neogen 2021-08-31 12:11:29 +02:00
Daniel Mathiot
9dd01fbab8 (lua) Recursive find of function instead of fixed 2021-08-31 12:11:04 +02:00
Daniel Mathiot
df0557374d Update adding-languages.md 2021-08-30 22:22:56 +02:00
Daniel Mathiot
068fc3cdf7 Update adding-languages.md 2021-08-30 21:37:07 +02:00
Daniel Mathiot
bd5ab9515f More docs (Readme#Adding-Languages) 2021-08-30 21:34:29 +02:00
Daniel Mathiot
5db8c287de Add documentation for adding new languages 2021-08-30 14:40:58 +02:00
Daniel Mathiot
294ed7c1fa Add ldoc in README 2021-08-29 20:00:20 +02:00
Daniel Mathiot
518515be3e (lua) Add ldoc annotation convention 2021-08-29 18:43:11 +02:00
Daniel Mathiot
a07df9e3a4 Merge pull request #11 from NTBBloodbath/patch-1
fix(readme): correct code block for nvim-cmp example
2021-08-28 15:52:30 +02:00
Alejandro
daafc6af11 fix(readme): correct code block for nvim-cmp example 2021-08-28 09:49:25 -04:00
Daniel Mathiot
460d022cc1 (c) Add support for functions that return pointers 2021-08-28 15:28:14 +02:00
Daniel Mathiot
c9ea7ee461 (c) Support for params with unlimited amount of pointers
I created a new option in tree called : 'first_recursive' that will find
the first node matching the node_type recursively.
Closes #10
2021-08-28 13:39:27 +02:00
Daniel Mathiot
ad5ed45205 Typo 2021-08-28 10:25:03 +02:00
Daniel Mathiot
e22c69a265 (c) Fix cursor in c configuration 2021-08-28 01:44:54 +02:00
Daniel Mathiot
499a4301fa Fix first time insert mode
I did a silly workaround because when at normal mode and going to insert
mode, it is not the same as being in insert mode and going to insert
mode. Somehow the cursor jumping is broken.

So what i did was to call a insert_mode a first time before any actual
jumping.
2021-08-28 01:31:51 +02:00
Daniel Mathiot
56b20fcd11 Fix default behaviour when no input after cursor 2021-08-28 00:39:13 +02:00
Daniel Mathiot
d03d4fb4b6 Merge branch 'main' of https://github.com/danymat/neogen 2021-08-27 23:29:58 +02:00
Daniel Mathiot
e9cc44266e Add jumpable method 2021-08-27 23:29:44 +02:00
Daniel Mathiot
1067125e54 Update README.md 2021-08-27 23:26:00 +02:00
Daniel Mathiot
5e2c72d36b Update README 2021-08-27 22:38:57 +02:00
Daniel Mathiot
c5bc73cb27 Add jump mapping to configuration 2021-08-27 22:36:44 +02:00
Daniel Mathiot
95d2368ccc (python, js, c) Add support for multiple cursor 2021-08-27 22:21:43 +02:00
Daniel Mathiot
c9ba1dcc5d Created wrapped around jump + Doc
You can now jump to next annotation field with:

require('neogen').jump_next()

Added docs for cursor utilities
2021-08-27 22:10:14 +02:00
Daniel Mathiot
1e1b780877 Add space after input field 2021-08-27 22:02:50 +02:00
Daniel Mathiot
6c89fd0714 Delete previous marks before adding new ones
It was causing some issues when there were still extmarks left and we
generated annotation just after
2021-08-27 21:46:19 +02:00
Daniel Mathiot
1d97f1415e Add default value for template 2021-08-27 21:19:19 +02:00
Daniel Mathiot
2c9936781f Add multiple cursor positioning to template 2021-08-27 20:23:48 +02:00
Daniel Mathiot
4e4c7da587 Merge pull request #7 from cryptomilk/asn-readme
README: Suggest to use noremap and silent for key bindings
2021-08-27 13:36:37 +02:00
Daniel Mathiot
80383b7004 Remove unused condition for input_after_comment
It should fix the issue #8
2021-08-27 13:35:03 +02:00
Andreas Schneider
1ad80a85ee README: Suggest to use noremap and silent for key bindings 2021-08-27 13:32:18 +02:00
Daniel Mathiot
b525173cd7 Fix behavior when calling different types
This Closes #5 and exposes something that I was not aware of:
lua seems to perform shallow copies when doing table assignments
2021-08-27 13:17:27 +02:00
Daniel Mathiot
d3d8a12315 Merge pull request #6 from cryptomilk/asn-c
Add support for C-doxygen
2021-08-27 12:34:03 +02:00
Daniel Mathiot
1f7350638d Add C Doxygen to README 2021-08-27 12:33:15 +02:00
Daniel Mathiot
3bb4d96317 Merge branch 'asn-c' of https://github.com/cryptomilk/neogen into asn-c 2021-08-27 12:14:11 +02:00
Daniel Mathiot
4cebcbcfdf (c) Fix return_statement in tree
As the return statement in inside the body (aka compound_statement in TS), it was not being recognized.
I added it and return_statement is now being retrieved.
2021-08-27 12:09:35 +02:00
Andreas Schneider
9406085e98 Add support for C-doxygen 2021-08-27 12:05:47 +02:00
Andreas Schneider
29679840d6 Add support for C-doxygen 2021-08-27 12:00:07 +02:00
Daniel Mathiot
e1b99157b6 Update README 2021-08-26 13:27:37 +02:00
Daniel Mathiot
fddd50553e (lua) types are now guessed for type annotations
This made me to do small adjustments to the tree extractor, and it now
can retrieve fixed positions from the tree. If no node_type name is
specified, it will put all nodes fetched from fixed positions to ["_"]
= values
2021-08-26 12:28:46 +02:00
Daniel Mathiot
d90b697104 Only append annotation if there's one 2021-08-26 12:27:56 +02:00