Commit Graph

271 Commits

Author SHA1 Message Date
L3MON4D3 6bc0063331 Add stylua-config (closes #30). 2021-06-11 23:23:31 +02:00
L3MON4D3 42d197c414
Merge pull request #28 from tjdevries/readme_mappings
fix: remove ls global usage
2021-06-11 21:14:06 +02:00
TJ DeVries 064979979e fix: remove ls global usage 2021-06-11 15:00:25 -04:00
L3MON4D3 e946ce7fc3
Update example video 2021-06-07 23:56:29 +02:00
L3MON4D3 aad7aa01a5 Remove old example-gifs. 2021-06-07 23:49:47 +02:00
L3MON4D3 0ea87f574f Improve formatting (tabs+spaces). 2021-06-05 22:57:05 +02:00
L3MON4D3 e375a2256f More docs. 2021-06-02 23:17:19 +02:00
L3MON4D3 96f975194f A functionNode may be entered as a choice, use the textNode-input_enter. 2021-06-02 17:38:32 +02:00
L3MON4D3 6b12453154 Add doc for choiceNodes. 2021-06-02 00:18:49 +02:00
L3MON4D3 895dff0e0c InsertLeave is pretty useless there. 2021-05-31 21:13:53 +02:00
L3MON4D3 9ec26fb86a
Looks better. 2021-05-31 21:10:24 +02:00
L3MON4D3 2e2625823a
Change mapping-section in README. 2021-05-31 18:35:56 +02:00
L3MON4D3 1f8ce1e96f
Typo. 2021-05-31 18:26:17 +02:00
L3MON4D3 25e35cf1e2 As with choiceNodes, child gets the same dependents as parent. 2021-05-31 17:12:45 +02:00
L3MON4D3 a4325a3142 Update Examples/snippets.lua. 2021-05-31 14:32:03 +02:00
L3MON4D3 4902d5cc9b Mention new config in README. 2021-05-31 14:27:24 +02:00
L3MON4D3 2647dbd1b5 Parents also need to update_dependents, as their text has changed as
well.
2021-05-31 14:04:36 +02:00
L3MON4D3 cdeffd0ad4 Propagate dependents to children. 2021-05-31 14:02:59 +02:00
L3MON4D3 cdecbab548 Add option to choose which events update dependent nodes. 2021-05-31 13:51:55 +02:00
L3MON4D3 65d2b2f58b Update aucmd and comment as snippets are more node-agnostic now. 2021-05-30 10:50:45 +02:00
L3MON4D3 938d60f5a0 Small oversight. 2021-05-30 10:45:31 +02:00
L3MON4D3 040cb66ecb These aren't up to date anymore. 2021-05-30 10:19:48 +02:00
L3MON4D3 4f139c169c Rework put_initial to not rely on cursor-position or mode. 2021-05-30 09:46:47 +02:00
L3MON4D3 76d3ec14ef Merge branch 'master' of github.com:L3MON4D3/LuaSnip 2021-05-29 09:57:07 +02:00
L3MON4D3 563bcc4059 Refactor snippet:enter_node a bit. 2021-05-29 09:55:16 +02:00
L3MON4D3 8436268a2a
Merge pull request #25 from leiserfg/jump_or
Add jumpable viml function
2021-05-26 19:53:25 +02:00
leiserfg 59c313e198 Add jumpable viml function 2021-05-26 19:35:16 +02:00
L3MON4D3 ecbb7b5512 Move autoload-stuff to plugin. 2021-05-25 19:05:33 +02:00
L3MON4D3 3275cb7d84
Merge pull request #24 from leiserfg/fix-auto-group
Move autogrup to plugins as it has to be loaded asap
2021-05-25 10:37:13 +02:00
leiserfg 01833cb687 Move autogrup to plugins as it has to be loaded asap 2021-05-25 10:33:25 +02:00
L3MON4D3 f00166423e Disregard utf-index for compatibility with nvim_win_set_cursor. 2021-05-25 10:21:55 +02:00
L3MON4D3 970b194c11
Merge pull request #23 from leiserfg/fix-event
Fix small event typo
2021-05-25 09:21:04 +02:00
leiserfg 27fa3f7892 Fix event typo 2021-05-25 09:19:42 +02:00
L3MON4D3 50de33a703 Update dependents upon leaving insert. 2021-05-25 00:12:29 +02:00
L3MON4D3 6563c7f258 Fix #22. 2021-05-24 15:41:11 +02:00
L3MON4D3 110f8a08a0
Merge pull request #21 from leiserfg/faster-loader
Move loading logic out of the main loop
2021-05-24 10:03:35 +02:00
leiserfg 7fadf38f59 Move loading logic out of the main loop 2021-05-24 09:36:54 +02:00
L3MON4D3 fc0ad1746c Unify set_(to|from)_rgrav to set_mark_rgrav. 2021-05-23 20:00:42 +02:00
L3MON4D3 814268e7c4 Add 'endless' example. 2021-05-23 19:22:40 +02:00
L3MON4D3 90bf0830f6 Like for actual snippets, update after put_initial. 2021-05-23 18:59:17 +02:00
L3MON4D3 ad44934c34 See difference clearly. 2021-05-23 18:37:34 +02:00
L3MON4D3 d14c737bb1 ExitNodes gravity should not be changed; they should 'stick'. 2021-05-23 18:37:02 +02:00
L3MON4D3 3508613fea If there is no snip currently, theres no need to change marks around. 2021-05-23 18:35:12 +02:00
L3MON4D3 043ad3dd26 Also change child nodes' markers. 2021-05-23 13:52:36 +02:00
L3MON4D3 ec1dc34e55
Merge pull request #19 from leiserfg/fix-loader-prefixes
Correctly load snippets with multiple prefixes
2021-05-14 13:55:08 +02:00
leiserfg 295e96defa Handle snippets with multiple prefixes 2021-05-14 11:44:36 +02:00
L3MON4D3 af137d89ae Merge branch 'master' of github.com:L3MON4D3/LuaSnip 2021-05-14 09:05:27 +02:00
L3MON4D3 f11c26f80c Don't unlink if there is no active snippet. 2021-05-14 09:04:33 +02:00
L3MON4D3 8c19d7dd79 Clear choice when 'deleting' an active snippet. 2021-05-14 08:48:03 +02:00
L3MON4D3 2635a6735c
Link examples in README. 2021-05-13 21:12:20 +02:00