This commit is contained in:
Justin M. Keyes
2026-04-20 07:46:26 -04:00
committed by GitHub
parent eaa8cff0bd
commit 5ad64af44f
10 changed files with 65 additions and 15 deletions

View File

@@ -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

View File

@@ -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;
}

View File

@@ -7910,8 +7910,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*