-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
docs: misc #24163
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
docs: misc #24163
Conversation
ec2009b
to
a7c8497
Compare
3c8e874
to
81671d7
Compare
@@ -6816,6 +6816,7 @@ A jump table for the options with a short description can be found at |Q_op|. | |||
|
|||
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. |
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.
@zeertzjq seems intuitive/helpful to have an item for level 1
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.
:fold({}, function(t, k, v) | ||
t[k] = v | ||
return t | ||
end) --> { b = 2, d = 4 } |
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.
- The shadowing of
t
added unnecessary questions to the old example. - Chaining methods emphasizes the "pipeline" aspect of
vim.iter
. - Using
acc
consistently is a useful signal to readers to notice the accumulator pattern.
1519303
to
75b04be
Compare
196d8d2
to
000a1c0
Compare
end | ||
}) | ||
|
||
To try it out, select the above code and source it with `:'<,'>lua`, then run |
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.
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>
- 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>
- 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>
Other docs changes
:help terminal-events
to collect OSC examples