-
-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] Restore node #228
Merged
Merged
[RFC] Restore node #228
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
4adcc68
First try at restoreNode.
L3MON4D3 e52060e
Export restoreNode in luasnip-module.
L3MON4D3 15a13b5
Format with stylua
L3MON4D3 f94e097
Auto generate docs
L3MON4D3 b911fa7
feat: restoreNode gets its own type.
L3MON4D3 282aa86
Format with stylua
L3MON4D3 f6efcef
Allow passing single nodes to `stored` instead of snippetNode only.
L3MON4D3 edb8508
Include restoreNode in jumpable nodes.
L3MON4D3 7850966
Format with stylua
L3MON4D3 fa3c2e2
Initialize subsnippet for get_static_text or get_docstring.
L3MON4D3 939d6ee
Call exit before clearing.
L3MON4D3 5f006a5
Merge branch 'master' into restoreNode
L3MON4D3 e57be7a
Fix get_docstring/get_static_text.
L3MON4D3 e934b69
Use insertNode as default for unspecified stored[key].
L3MON4D3 0ce5900
Allow the default for a given key to be passed to the constructor.
L3MON4D3 42d2f77
Correctly call update for inner snip.
L3MON4D3 99f24ed
Init `active` with false, otherwise the rn is jumped through in jump_…
L3MON4D3 ef1230f
Don't ignore update used by choiceNode.
L3MON4D3 bfbfa1b
Indent the restoreNodes snippets only once.
L3MON4D3 0da2419
Format with stylua
L3MON4D3 602d064
Use same function to create snipNodes from `restoreNode` and `stored`.
L3MON4D3 ce1c739
Fix restore of dynamicNode.
L3MON4D3 75ccee1
Format with stylua
L3MON4D3 bd0513c
Add Docs for restoreNode.
L3MON4D3 23297af
Auto generate docs
L3MON4D3 c12732c
Mention indent not being influenced by ISN.
L3MON4D3 99b0c84
Auto generate docs
L3MON4D3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like double pasting to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops, yes you're right