summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-04-20 07:09:37 -0400
committerGitHub <noreply@github.com>2026-04-20 07:09:37 -0400
commit2b52acfb8a6c43db0e31abe8975330ea3363bd5d (patch)
tree29e50ed3179130403d8889f9f32d687159e69425 /src
parent01861c2f955119cc88158273e100b3490c3df6e1 (diff)
docs: misc #39207
Diffstat (limited to 'src')
-rw-r--r--src/nvim/auevents.lua2
-rw-r--r--src/nvim/memfile.c2
-rw-r--r--src/nvim/options.lua5
3 files changed, 5 insertions, 4 deletions
diff --git a/src/nvim/auevents.lua b/src/nvim/auevents.lua
index f3e26720e1..4463f0c291 100644
--- a/src/nvim/auevents.lua
+++ b/src/nvim/auevents.lua
@@ -1,7 +1,7 @@
return {
--- @type table<string,boolean>
--- Keys are events names.
- --- Values are boolean indicating whether the event is window-local.
+ --- Value is true if the event is window-local, else false.
events = {
BufAdd = true, -- after adding a buffer to the buffer list
BufDelete = true, -- deleting a buffer from the buffer list
diff --git a/src/nvim/memfile.c b/src/nvim/memfile.c
index 4bf26a8059..6e9a63a7f1 100644
--- a/src/nvim/memfile.c
+++ b/src/nvim/memfile.c
@@ -318,7 +318,7 @@ bhdr_T *mf_get(memfile_T *mfp, blocknr_T nr, unsigned page_count)
}
hp->bh_flags |= BH_LOCKED;
- pmap_put(int64_t)(&mfp->mf_hash, hp->bh_bnum, hp); // put in front of hash table
+ pmap_put(int64_t)(&mfp->mf_hash, hp->bh_bnum, hp);
return hp;
}
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index a24da96883..cb3db201bd 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -7922,8 +7922,9 @@ local options = {
cb = 'did_set_shortmess',
defaults = 'ltToOCF',
desc = [=[
- This option helps to avoid all the |hit-enter| prompts caused by file
- messages, for example with CTRL-G, and to avoid some other messages.
+ Controls display of file messages (e.g. CTRL-G) and various other
+ messages.
+
It is a list of flags:
flag meaning when present ~
l use "999L, 888B" instead of "999 lines, 888 bytes" *shm-l*