diff options
author | Thomas Vigouroux <tomvig38@gmail.com> | 2021-07-08 07:51:41 +0200 |
---|---|---|
committer | Thomas Vigouroux <tomvig38@gmail.com> | 2021-07-08 23:08:27 +0200 |
commit | b35fefc57ff408246a4652c92d6ef0dbf36d529c (patch) | |
tree | 31c12c828c8828395d9f4e3bd530a54db69c9ba6 /src/nvim/buffer_defs.h | |
parent | f8ed13c0dc5f144501e90cbf38fc3f24dd306a9e (diff) | |
download | rneovim-b35fefc57ff408246a4652c92d6ef0dbf36d529c.tar.gz rneovim-b35fefc57ff408246a4652c92d6ef0dbf36d529c.tar.bz2 rneovim-b35fefc57ff408246a4652c92d6ef0dbf36d529c.zip |
refactor: remove all mentions to `curbuf_lock`
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r-- | src/nvim/buffer_defs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h index a4d9229b51..2fe85e0543 100644 --- a/src/nvim/buffer_defs.h +++ b/src/nvim/buffer_defs.h @@ -525,7 +525,8 @@ struct file_buffer { int b_flags; // various BF_ flags int b_locked; // Buffer is being closed or referenced, don't // let autocommands wipe it out. - int b_ro_locked; // Replacement for curbuf_lock + int b_ro_locked; // Non-zero when the buffer can't be changed. + // Used for FileChangedRO // // b_ffname has the full path of the file (NULL for no name). |