aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index 24aa4cdaac..7c702fd33e 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -274,7 +274,8 @@ open_buffer (
///
/// @param bufref Reference to be used for the buffer.
/// @param buf The buffer to reference.
-void set_bufref(bufref_T *bufref, buf_T *buf) {
+void set_bufref(bufref_T *bufref, buf_T *buf)
+{
bufref->br_buf = buf;
bufref->br_buf_free_count = buf_free_count;
}
@@ -284,7 +285,8 @@ void set_bufref(bufref_T *bufref, buf_T *buf) {
/// Only goes through the buffer list if buf_free_count changed.
///
/// @param bufref Buffer reference to check for.
-bool bufref_valid(bufref_T *bufref) {
+bool bufref_valid(bufref_T *bufref)
+{
return bufref->br_buf_free_count == buf_free_count
? true
: buf_valid(bufref->br_buf);