Commit Graph

74 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
f204b74eae minor(snip)!: sect -> inter as in typst 0.13 2025-03-09 11:59:20 +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
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
d0042ce419 feat(snip): exclude snippets by trigger 2025-01-28 17:03:23 +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
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
arne314
bfc2fd103d minor(snip): space in set and ak/sk 2025-01-12 17:34:39 +01:00
arne314
701f30d4af minor(snip): arrow type consistency 2025-01-11 14:38:24 +01:00
arne314
d03a5e4062 style: remove space 2025-01-10 16:49:41 +01:00
arne314
bd5865dc2e Merge branch 'main' into dev 2025-01-10 16:48:09 +01:00
Linus
7d2b3e852d feat(snip): bare integral (#5)
* feat!: `it` to `integral`, `int` for old behaviour

* fix: formatting errors

---------

Co-authored-by: arne314 <73391160+arne314@users.noreply.github.com>
2025-01-09 21:53:05 +01:00
Linus
f41358491f feat(snip): domain sum (#7)
* feat: sums over domains `osm` `dsm`

* fix: consitency of sum snippets

* fix: add space to sum snippet

---------

Co-authored-by: arne314 <73391160+arne314@users.noreply.github.com>
2025-01-09 21:32:50 +01:00
Linus
820da200ab feat(snip): sets and implications (#6)
* feat: `ip` and `ib` for implications

* fix: string escaping

* feat: add curly brackets

* feat: replace st (set) with visual snippet
2025-01-09 20:55:04 +01:00
arne314
a1f2276614 minor(snip): update math snippets 2025-01-09 12:24:03 +01:00
arne314
4f9cf683fc feat(snip): improve greek letters 2025-01-09 12:16:01 +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