danymat
47b4a74a2b
fix: Show error if neogen not setup
2022-02-10 15:51:30 +01:00
danymat
f59da94e42
fix: Call to unexistent module ( fix #68 )
2022-02-10 15:51:30 +01:00
danymat
af0de874bd
fix: Call to unexistent module ( fix #68 )
2022-02-10 15:43:46 +01:00
kevinhwang91
c8be853fa5
fix(config): fetch configs if user has configured ( #66 )
2022-02-10 19:23:53 +08:00
danymat
6966aa684a
ref: Update annotations
2022-02-10 11:34:03 +01:00
danymat
77b5c1a535
feat: Create Neogen semver
2022-02-08 20:08:12 +01:00
danymat
767169cc43
chore: stylua formatting
2022-02-08 15:50:36 +01:00
Daniel Mathiot
c8a5b89eac
Merge pull request #64 from kevinhwang91/refactor
...
BREAKING CHANGE (developers only)
- Deleted `jump_text` option, and made it default
- Deleted the ability to override generators and granulators
2022-02-08 15:49:15 +01:00
danymat
e17677341b
feat: Allow getting template for current filetype
2022-02-08 15:34:47 +01:00
danymat
e38e663dc1
feat: Add support for bash (google shellguide)
2022-02-08 15:12:08 +01:00
danymat
970bebc2ec
feat: Add internal type annotation
2022-02-08 15:10:37 +01:00
danymat
e9b2812ed1
feat: Add support for ruby (yard, rdoc)
2022-02-08 14:12:22 +01:00
kevinhwang91
1cf74d9a52
fix(mark): can't stop session if cursor is out of range
2022-02-08 19:58:51 +08:00
danymat
533cd3d389
ref: Annotations
2022-02-08 09:57:47 +01:00
danymat
851285aae9
ref: Remove old comment
2022-02-08 09:48:27 +01:00
kevinhwang91
90f12f6edc
chore(generator): keep diagnosis silent
2022-02-07 17:29:41 +08:00
kevinhwang91
7af0b4ee26
feat!: remove jump_text
2022-02-06 20:39:07 +08:00
kevinhwang91
582fd8a2c7
fix(generator): use notify instead of assert
2022-02-06 20:30:06 +08:00
kevinhwang91
8a75bd7c0d
chore:; respect EmmyLua comment
2022-02-06 19:55:50 +08:00
kevinhwang91
be03c71183
fix(generator): check template early
2022-02-06 19:53:17 +08:00
kevinhwang91
98c8cbae80
fix(mark): jumpable() can't detect under first and last marks
...
The first and the last marks should be included.
2022-02-06 19:45:46 +08:00
kevinhwang91
8642100aea
refactor: refactor code base
2022-02-06 12:15:55 +08:00
danymat
7ab042e9e0
doc: Add section :h neogen-annotation
2022-02-04 11:05:47 +01:00
danymat
78d3658349
feat: Add API for custom annotation convention
2022-02-04 11:05:14 +01:00
danymat
11018d4e71
(lua) Update configurations
2022-02-04 10:16:41 +01:00
danymat
701d55f1a7
(lua) Update configurations ( #63 )
2022-02-04 09:21:02 +01:00
danymat
271260c2d8
fix(cs) Rename configuration file ( fix #62 )
2022-02-02 23:59:39 +01:00
danymat
84aa3d3cba
doc: Add section :h neogen-template-api
2022-02-01 18:56:51 +01:00
danymat
ac7caed0c5
feat: Add API to get template
2022-02-01 18:55:18 +01:00
danymat
f02e883651
fix(py) Disable custom placement for file type ( #59 )
2022-02-01 15:16:48 +01:00
danymat
1e8fccb924
feat: Allow custom placement to be disabled for certain types
2022-02-01 15:16:00 +01:00
danymat
985baa1380
fix(py) Support typed default parameters ( #60 )
2022-02-01 15:06:16 +01: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
kevinhwang91
efdb89228e
fix(lua): missing return statement for function type
2022-02-01 03:34:37 +08: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
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
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