Commit Graph

25 Commits

Author SHA1 Message Date
arne314
db88f070ec fix: survive multiple plugin setup calls 2025-05-04 15:49:55 +02:00
arne314
45afd171f6 fix(snip): allow trigger options in start snip 2025-04-30 23:36:45 +02:00
arne314
71c1e15ce2 feat(snip): trigger blacklist option 2025-04-30 00:44:16 +02:00
arne314
7ffa4efe3c refactor(snip)!: trigger options parameter 2025-04-30 00:43:18 +02:00
arne314
b47e98e478 feat(snip): indent multiline visual operations 2025-04-28 00:08:49 +02:00
arne314
7ea4e59c4b minor: fix typo 2025-04-07 19:49:31 +02:00
arne314
ae38a4c09b fix: allow overriding of computed max trig length 2025-04-07 16:44:36 +02:00
Eagle4398
ec5caf32a8 feat(snip): expand into next line with correct indent (#13)
* New snippet type. Expand from nonempty line into next line.

* Fix trigger to ' dm' instead of 'dm'

* style: format code

* minor: improve regex

---------

Co-authored-by: arne314 <73391160+arne314@users.noreply.github.com>
2025-03-22 10:02:26 +01:00
arne314
2481c329f9 perf(snip): consider max trigger length 2025-01-29 15:40:36 +01:00
arne314
d0042ce419 feat(snip): exclude snippets by trigger 2025-01-28 17:03:23 +01:00
arne314
65e3295826 fix(snip): unicode matching problems 2025-01-16 23:09:50 +01:00
arne314
1cbc6086de perf(snip): consider fixed trigger lengths
ignore the first part of a line if the trigger length is known
2025-01-16 00:28:59 +01:00
arne314
1b4cac06ae fix(snip): use wordtrig for short triggers 2025-01-15 16:11:11 +01:00
arne314
fc7d5b5101 perf(snip): don't rely on luasnip wordtrig 2025-01-14 19:31:00 +01:00
arne314
e9824803b5 style: format lua using stylua 2025-01-09 01:48:18 +01:00
arne314
434dc5c6c4 feat(snip): warning if jsregexp is not installed 2025-01-08 20:44:16 +01:00
arne314
6c23cba4bc feat(snip): markup wrapping snippets 2025-01-08 17:59:40 +01:00
arne314
e32609f9cd feat: smart snippets using treesitter 2024-12-11 22:01:42 +01:00
arne314
628290704e fix: common index snippets in markup 2024-12-08 22:10:58 +01:00
arne314
5529a29327 perf: use treesitter to detect math/markup 2024-12-08 18:39:58 +01:00
arne314
999fd0dfef perf: eval snippet condition before regex 2024-12-04 01:11:41 +01:00
arne314
39a73ca8cb perf: jsregexp instead of lua pattern matching 2024-12-04 00:24:09 +01:00
arne314
15a87535a7 feat: toggle snippets user command 2024-11-24 21:42:25 +01:00
arne314
759b4f7c17 fix: snippet spacing 2024-11-23 19:58:11 +01:00
arne314
d2d91f7a01 feat: port most snippets from lentilus/fastex.nvim 2024-11-19 01:55:11 +01:00