docs: misc#24163
Merged
Merged
Conversation
ec2009b to
a7c8497
Compare
3c8e874 to
81671d7
Compare
justinmk
commented
Jan 25, 2024
| Level Messages ~ | ||
| ---------------------------------------------------------------------- | ||
| 1 Enables Lua tracing (see above). Does not produce messages. | ||
| 2 When a file is ":source"'ed, or |shada| file is read or written. |
Member
Author
There was a problem hiding this comment.
@zeertzjq seems intuitive/helpful to have an item for level 1
justinmk
commented
Jan 25, 2024
| :fold({}, function(t, k, v) | ||
| t[k] = v | ||
| return t | ||
| end) --> { b = 2, d = 4 } |
Member
Author
There was a problem hiding this comment.
- The shadowing of
tadded unnecessary questions to the old example. - Chaining methods emphasizes the "pipeline" aspect of
vim.iter. - Using
accconsistently is a useful signal to readers to notice the accumulator pattern.
1519303 to
75b04be
Compare
196d8d2 to
000a1c0
Compare
justinmk
commented
Jan 29, 2024
justinmk
commented
Apr 25, 2024
| end | ||
| }) | ||
|
|
||
| To try it out, select the above code and source it with `:'<,'>lua`, then run |
Member
Author
There was a problem hiding this comment.
This is why :[range]lua is cool.
1d5a88a to
685a232
Compare
- Also delete old perl scripts which are not used since 8+ years ago. fix neovim#23251 fix neovim#27367 ref neovim#2252 (comment) Co-authored-by: Kevin Pham <keevan.pham@gmail.com> Helped-by: Daniel Kongsgaard <dakongsgaard@gmail.com>
phanen
pushed a commit
to phanen/neovim
that referenced
this pull request
May 3, 2024
- Also delete old perl scripts which are not used since 8+ years ago. fix neovim#23251 fix neovim#27367 ref neovim#2252 (comment) Helped-by: Daniel Kongsgaard <dakongsgaard@gmail.com> Co-authored-by: Kevin Pham <keevan.pham@gmail.com>
huangyingw
pushed a commit
to huangyingw/neovim
that referenced
this pull request
May 31, 2024
- Also delete old perl scripts which are not used since 8+ years ago. fix neovim#23251 fix neovim#27367 ref neovim#2252 (comment) Helped-by: Daniel Kongsgaard <dakongsgaard@gmail.com> Co-authored-by: Kevin Pham <keevan.pham@gmail.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Other docs changes
:help terminal-eventsto collect OSC examples