Commit Graph

161 Commits

Author SHA1 Message Date
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
5297c53a56 minor(snip): add agl for angle brackets 2025-04-27 00:12:39 +02:00
arne314
28046452a7 minor(snip): add fox for f(x) and variations 2025-04-27 00:10:08 +02:00
arne314
daed44d47a revert: theorem trigger 2025-04-27 00:03:57 +02:00
arne314
6cec2691e4 fix(snip): use centered dots in matrices 2025-04-26 21:12:32 +02:00
arne314
8e15b84bc5 minor(snip)!: update ctheorems snippets 2025-04-24 11:21:42 +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
ca3fcec66c fix(anki): reload nvim buffer on anki id update 2025-03-19 13:10:44 +01:00
arne314
69a3ec4757 Merge pull request #12 from arne314/dev
V1.3.1
2025-03-10 20:27:01 +01:00
arne314
89226e576f chore: bump version to 1.3.0 2025-03-10 20:23:50 +01:00
arne314
f56e84331c fix(anki): no recursive config dir for single file 2025-03-09 12:21:08 +01:00
arne314
f204b74eae minor(snip)!: sect -> inter as in typst 0.13 2025-03-09 11:59:20 +01:00
arne314
766ae2d5ea fix(anki): handle typst compilation warnings 2025-03-09 11:54:35 +01:00
arne314
89de725101 minor(snip): use dif in dx/ddx 2025-02-10 12:23:01 +01:00
arne314
0f20a72e39 minor(snip): add Im to index conflicts 2025-02-10 12:21:34 +01:00
arne314
3a0bdb6b03 Merge pull request #11 from arne314/dev
V1.3.0
2025-02-07 12:09:33 +01:00
arne314
1bb33c8965 chore: bump version to 1.3.0 2025-02-07 12:02:00 +01:00
arne314
83ac349ed2 minor(docs): fix indent 2025-02-07 11:58:19 +01:00
arne314
00181e1f03 docs: snippet customization 2025-02-07 11:51:06 +01:00
arne314
f531a57494 fix(snip): ignore conflicts in markup indices 2025-01-30 13:23:40 +01:00
arne314
5d4859d1b4 minor(snip)!: improve deriv and markup indices 2025-01-30 13:17:13 +01:00
arne314
2481c329f9 perf(snip): consider max trigger length 2025-01-29 15:40:36 +01:00
arne314
00fcd9041f docs: minor fixes 2025-01-28 17:32:30 +01:00
arne314
d0042ce419 feat(snip): exclude snippets by trigger 2025-01-28 17:03:23 +01:00
Linus
41d239d5e7 Merge pull request #10 from arne314/index-confilicts-readable-typst
resolve index conflict with cal letters
2025-01-25 18:47:28 +01:00
Linus
051ff69375 Merge branch 'dev' into index-confilicts-readable-typst 2025-01-25 18:46:56 +01:00
lentilus
e9a653b4e2 minor(snip): resolve index conflict with lentilus/readable-typst cal letters 2025-01-25 17:40:13 +00:00
Linus
c305ff51fb Merge pull request #9 from arne314/phi-and-eta
Phi and eta
2025-01-25 16:18:49 +01:00
arne314
4ab5712360 feat(anki): reimport flashcards 2025-01-25 16:10:13 +01:00
lentilus
1d0e65a6c5 minor(snip)!: h for eta 2025-01-25 14:51:23 +00:00
lentilus
c37a8c75d7 minor(snip): f for phi 2025-01-25 14:48:24 +00:00
arne314
1407178ba7 minor(snip): add fraction and ball snippet 2025-01-23 13:36:58 +01:00
lentilus
37f27b0d09 dev: add nix flake 2025-01-22 23:35:56 +00:00
lentilus
294257a6c0 docs: add nix instructions 2025-01-21 13:51:28 +00:00
arne314
7f0f40c021 minor(snip): fix typo 2025-01-20 17:28:05 +01:00
arne314
4ac566945e feat: get plugin directory from lua debug 2025-01-18 19:58:43 +01:00
arne314
169714435e perf(snip): make use of custom wordtrig 2025-01-16 23:11:40 +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
0917648f54 feat(snip): expand index snippets on punctuation 2025-01-15 15:56:23 +01:00
lentilus
76a8fdd5fb fix: add el to index conflicts 2025-01-15 13:48:45 +00:00
arne314
c273afbf4e feat(snip): series of numbered letters 2025-01-14 20:29:12 +01:00
arne314
804d9d334d minor(snip): space after any math snippet 2025-01-14 19:37:10 +01:00
arne314
fc7d5b5101 perf(snip): don't rely on luasnip wordtrig 2025-01-14 19:31:00 +01:00
arne314
5ccdf56f6f feat(snip): improve lim/-inf/-sup usability 2025-01-14 19:05:21 +01:00