Saad Parwaiz
05a9ab28b5
Merge pull request #61 from woodgear/fix/expand_params
2023-10-09 20:15:02 +01:00
cong
dea781386c
fix expand_params
2023-10-01 03:23:18 +08:00
saadparwaiz1
1809552039
Merge pull request #51 from atticus-sullivan/feat(autosnippets)
2022-10-28 08:56:09 +01:00
atticus-sullivan
cbf6c57235
query autosnippets only if requested
2022-10-26 11:10:21 +02:00
atticus-sullivan
37287e5619
doc on the feature/option
2022-10-25 22:17:22 +02:00
atticus-sullivan
6c89ea483e
general option for show_autosnippets (default:false for backwards comp)
2022-10-25 22:13:37 +02:00
atticus-sullivan
8644171cda
just use ft and id in caching
2022-10-25 22:06:04 +02:00
atticus-sullivan
db577ec5b1
always the same with lua5.4 vs luajit (no table.unpack)
2022-10-23 21:35:45 +02:00
atticus-sullivan
3c79b73507
merge loops over auto-/snippets (code-deduplication)
2022-10-23 19:12:55 +02:00
atticus-sullivan
91b47451f4
reformat (indentation: tabs/spaces) with vim ==
2022-10-23 19:03:39 +02:00
atticus-sullivan
2c964b54ff
snip_id instead of ft_indx for autosnippets
2022-10-23 18:58:53 +02:00
atticus-sullivan
1e6f891dbd
no mergeconflict on this
2022-10-23 16:59:21 +02:00
Saad Parwaiz
5203bd5af8
feat(autosnippets): Show autosnippets
...
Just https://github.com/saadparwaiz1/cmp_luasnip/pull/27 rebased on the
current master
2022-10-23 16:24:59 +02:00
Saad Parwaiz
a9de941bcb
refactor(cmp_luasnip): breaking change use 0.7 autocmd api
2022-05-02 00:31:33 +05:00
saadparwaiz1
b108297365
Create LICENSE
2022-04-01 21:46:47 +01:00
saadparwaiz1
adf4a521f2
Merge pull request #37 from jedrzejboczar/reuse-line-before-cursor
...
Avoid calculating line_to_cursor, take it from params.context
2022-03-27 19:48:23 +01:00
saadparwaiz1
21040eeaa2
Merge pull request #36 from jedrzejboczar/fix-readme-typo
...
fix(readme): typo in initialisation options
2022-03-27 19:35:38 +01:00
Jędrzej Boczar
6e3471da71
Avoid calculating line_to_cursor, take it from params.context
2022-03-27 13:08:36 +02:00
Jędrzej Boczar
4666036aba
fix(readme): typo in initialisation options
2022-03-27 13:07:35 +02:00
saadparwaiz1
85f2767842
Merge pull request #35 from L3MON4D3/master
...
Use snippet-id instead of index into ft-table.
2022-03-26 22:21:31 +00:00
L3MON4D3
75fa4e5dd4
Use ls.get_snippets(ft)
instead of ls.snippets[ft]
.
2022-03-26 20:00:49 +01:00
L3MON4D3
0dd1457539
Use snippet-id instead of index into ft-table.
...
This is necessary due to luasnip's changes to snippet-storage.
Also, luasnip will soon no longer do a ft-change-event after the indices
in the ft-tables potentially changed.
Using an unique id to address snippets is also nicer overall.
2022-03-25 22:47:02 +01:00
saadparwaiz1
d6f837f4e8
Fix #31
2022-01-02 20:06:50 +00:00
Saad Parwaiz
7bd2612533
fix(cmp_luasnip): remove unused parameters
2021-12-12 11:18:06 +00:00
saadparwaiz1
75bf6434f1
Merge pull request #29 from L3MON4D3/master
...
Use new luasnip-functions for expansion.
2021-12-04 13:23:31 +00:00
L3MON4D3
3af7eeabd5
Use new luasnip-functions to expand.
2021-12-03 23:24:01 +01:00
saadparwaiz1
16832bb50e
Merge pull request #26 from jedrzejboczar/snip-condition
2021-10-28 19:12:18 +01:00
Jędrzej Boczar
c41bd2bf34
feat(show_condition): make use_show_condition=true the default
2021-10-27 22:45:22 +02:00
Jędrzej Boczar
1ef37e2cc6
feat(show_condition): simplify code, readme note about buffer-local setup
2021-10-27 22:35:16 +02:00
Jędrzej Boczar
4c3b83036e
feat: option to check snippet show_condition when listing candidates
2021-10-27 13:46:08 +02:00
saadparwaiz1
0347dddd1d
Merge pull request #24 from uga-rosa/master
2021-10-18 21:02:18 +01:00
uga-rosa
02f15aaebc
fix create cache
2021-10-19 02:08:01 +09:00
saadparwaiz1
8da7e78e54
Merge pull request #23 from L3MON4D3/fix_cache_by_ft
2021-10-14 23:22:42 +01:00
L3MON4D3
3c3da5ee98
fix(cache): store compl-items per-ft, not multiple fts in one table.
2021-10-14 10:30:40 +02:00
saadparwaiz1
9674906f4e
Merge pull request #22 from L3MON4D3/master
2021-10-13 15:38:54 +01:00
L3MON4D3
5934b4dede
feat(completion): respect hidden
-key of snippets.
2021-10-13 16:01:02 +02:00
saadparwaiz1
7e11f27b07
Merge pull request #21 from saadparwaiz1/feature/refresh
2021-10-09 12:19:58 +01:00
Saad Parwaiz
c792dd1536
refresh cache on file reload
2021-10-09 12:19:17 +01:00
Saad Parwaiz
05b8e44df8
Add Stylua Config
2021-10-03 12:06:46 +01:00
saadparwaiz1
a8af71da3c
Merge pull request #17 from uga-rosa/master
2021-10-02 10:25:08 +01:00
uga-rosa
c5d9b460d4
Respond to the removal of LuaSnip's Luasnip_current_nodes
2021-10-02 18:09:35 +09:00
Saad Parwaiz
a939496439
Use pairs intead of ipairs to fix indexing issues
2021-09-23 21:03:59 +01:00
Saad Parwaiz
a0fb34a0ec
convert vimscript after plugin to lua
2021-09-20 18:49:19 +01:00
saadparwaiz1
e22fe57aec
Merge pull request #11 from jakelinnzy/clear-cache
...
Clear cache on LuasnipCleanup autocmd
2021-09-13 16:26:48 +01:00
Ziyang Lin
837ea4fdaf
Clear cache on LuasnipCleanup autocmd
2021-09-13 21:59:52 +08:00
Saad Parwaiz
7284dd6ee8
Support Extending Filetypes
2021-09-11 22:31:12 +01:00
Saad Parwaiz
7cffe573a8
Revert "Support Extending Filetypes"
...
This reverts commit e5ffdfb2f7
.
2021-09-11 21:24:22 +01:00
saadparwaiz1
b1a8b9f64d
Merge pull request #10 from saadparwaiz1/extend_filetypes
...
Support Extending Filetypes
2021-09-11 20:40:39 +01:00
Saad Parwaiz
e5ffdfb2f7
Support Extending Filetypes
2021-09-11 13:37:57 +01:00
saadparwaiz1
438632c799
Merge pull request #7 from saadparwaiz1/popup_update
2021-09-02 16:13:58 +01:00