L3MON4D3
45a4e899ca
Auto generate docs
2023-07-10 08:20:53 +00:00
L3MON4D3
572f202a05
show lua-mappings in readme.
...
Show both the lua-api, and a different set of mappings (since
overloading tab has some annoying side-effects).
2023-07-10 10:18:19 +02:00
L3MON4D3
a658ae2906
fix off-by-one in ecma-trig-engine.
2023-07-05 18:51:41 +02:00
bhataktaBhai
db0aba4a39
Auto generate docs
2023-07-05 12:39:02 +02:00
bhataktaBhai
da831a46f5
added subtraction for condition objects
2023-07-05 12:39:02 +02:00
L3MON4D3
105b5f7f72
Auto generate docs
2023-06-29 20:56:41 +00:00
L3MON4D3
1139ff30c6
jsregexp: use more unique name for OS-detection, update doc.
2023-06-29 22:52:44 +02:00
L3MON4D3
c7984d1cca
Format with stylua
2023-06-24 22:57:59 +02:00
L3MON4D3
cc88fc3927
Auto generate docs
2023-06-24 22:57:59 +02:00
L3MON4D3
3d0ead32b7
feat: allow vim/ecma-regex/custom-function as triggers.
...
Check `trigEngine` in `:h luasnip-snippets`, or in `DOC.md`.
2023-06-24 22:57:59 +02:00
L3MON4D3
8ae97ee0c4
fix: make docTrig work again (I guess it's just not used???)
2023-06-24 22:57:59 +02:00
L3MON4D3
b5e73afc82
refactor: resolve jsregexp-module in util.util.
2023-06-24 22:57:59 +02:00
Stanislav Asunkin
3d2ad0c0fa
fix: remove debug print
2023-06-19 21:54:52 +02:00
L3MON4D3
6086742e28
Format with stylua
2023-06-19 12:23:36 +00:00
L3MON4D3
988ce6adc5
fix: store active choiceNode per-buffer.
...
How has this not caused an issue yet???
2023-06-19 14:20:22 +02:00
L3MON4D3
6a27aab239
Format with stylua
2023-06-19 11:57:19 +00:00
L3MON4D3
17c5252da8
Auto generate docs
2023-06-19 11:57:16 +00:00
L3MON4D3
de628f2cd5
if change/set_choice causes an error, drop the snippet ( close #928 ).
...
We assume that an error occurred with the extmarks due to
snippet-deletion.
2023-06-19 13:54:14 +02:00
stasjok
ae11a08e2b
Auto generate docs
2023-06-19 00:17:23 +02:00
Stanislav Asunkin
28eb57e144
refactor: don't load modules in lazy_load until they are needed
2023-06-19 00:17:23 +02:00
L3MON4D3
4964cd11e1
Auto generate docs
2023-06-16 10:44:42 +00:00
L3MON4D3
765129a6b8
jsregexp: don't link statically.
...
Since this is always loaded from neovim, the lua-libraries exported, and
dynamic linking suffices.
Big thank to @kmarius!
2023-06-16 12:43:07 +02:00
bekaboo
65ff66db0e
Fix: handle multi-snippet common field when it is a string instead of a table
2023-06-15 23:01:43 +02:00
Bekaboo
f84c01b786
Auto generate docs
2023-06-15 23:01:43 +02:00
bekaboo
ac87c31136
Merge multi-snippet common field, fix #921
2023-06-15 23:01:43 +02:00
L3MON4D3
bfbd03952f
Format with stylua
2023-06-14 20:17:35 +00:00
L3MON4D3
a31b1d17af
Auto generate docs
2023-06-14 20:17:31 +00:00
L3MON4D3
1a428543fb
register multi_snippet with extend_decorator.
2023-06-14 22:15:26 +02:00
L3MON4D3
a13af80734
Auto generate docs
2023-06-07 08:10:33 +00:00
gongfarmer
7a564d7f7d
Auto generate docs
2023-06-07 10:09:23 +02:00
Fraser Hanson
405f97d11b
fix: use relative url for submodule definition ( #911 )
2023-06-07 10:09:23 +02:00
L3MON4D3
51ebb4b663
Format with stylua
2023-05-31 11:41:35 +02:00
L3MON4D3
7693ac53e9
Auto generate docs
2023-05-31 11:41:35 +02:00
L3MON4D3
3bc1ac3228
edit_snippet_func: also present load_ft_func-filetypes.
...
Maybe it should even exclusively consider load_ft_func-filetypes, since
the intent of the function, at least as I see it, is to add a snippet to
any filetype for this buffer, and thats exactly the association
load_ft_func is supposed to model.
2023-05-31 11:41:35 +02:00
L3MON4D3
5573e5d24f
respect buf-filetype in jump_to_snippet.
2023-05-31 11:41:35 +02:00
L3MON4D3
28d3360717
add test for .code-snippets.
2023-05-31 11:41:35 +02:00
L3MON4D3
4c67d50f66
implement support for .code-snippets.
2023-05-31 11:41:35 +02:00
L3MON4D3
4011a3d486
snippet_collection: rename some stuff to be more specific.
2023-05-31 11:41:35 +02:00
L3MON4D3
bb3ccacf5a
prevent snippet-deepcopy, allow scope to override ft from package.json.
2023-05-31 11:41:35 +02:00
L3MON4D3
5cc65341e1
add duplicate.
...
For inserting the same addable/expandable to multiple filetypes, without
deep-copying.
2023-05-31 11:41:35 +02:00
L3MON4D3
84abbc7087
multiSnippet/snippetProxy: pass on own id to snippet.
...
id is specified per-virtual-snippet (if there is a snippet which is
added, via multisnippet, to two filetypes X and Y, the snippet expanded
from filetype X will have an id different from that for filetype Y).
2023-05-31 11:41:35 +02:00
L3MON4D3
d76e6daaef
rename vscode-package-cache.
...
`.code-snippet`-cache is not compatible.
2023-05-31 11:41:35 +02:00
L3MON4D3
022c30b23b
vscode-loader: load files with extension .code-snippets.
2023-05-31 11:41:35 +02:00
L3MON4D3
e8d917a5f8
enable combination of multiSnippet and snippetProxy.
...
Useful for lsp-snippets which belong to multiple filetypes.
2023-05-31 11:41:35 +02:00
L3MON4D3
f8161bc8de
allow per-snippet modification of filetype.
2023-05-31 11:41:35 +02:00
MunifTanjim
a83e4b1ba7
Auto generate docs
2023-05-26 14:03:29 +02:00
Munif Tanjim
64b32a060a
docs: cleanup misleading docs for postfix
2023-05-26 14:03:29 +02:00
Munif Tanjim
760ced0f9c
feat: add default condition for postfix
2023-05-26 14:03:29 +02:00
L3MON4D3
2fc3ad4cba
Auto generate docs
2023-05-26 07:49:55 +00:00
L3MON4D3
6cabe028dc
doc: clean up a bit.
2023-05-26 09:48:23 +02:00