aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.h
diff options
context:
space:
mode:
authorFlorian Walch <fwalch@users.noreply.github.com>2015-04-09 00:02:09 +0300
committerFlorian Walch <fwalch@users.noreply.github.com>2015-04-09 00:02:09 +0300
commit04e09ba74279d286985333486c43f14a935a13c2 (patch)
tree0f6dbc6ca1ddcb79f53d7c42b6adc18ba65f6727 /src/nvim/buffer_defs.h
parente1bac3b84090d07afa669a8b79816c28813c605e (diff)
parentdea2731184f23521f5eae03ab46cbe811b8825b7 (diff)
downloadrneovim-04e09ba74279d286985333486c43f14a935a13c2.tar.gz
rneovim-04e09ba74279d286985333486c43f14a935a13c2.tar.bz2
rneovim-04e09ba74279d286985333486c43f14a935a13c2.zip
Merge pull request #1805 from fwalch/vim-7.4.399
vim-patch: Port parts of Vim 7.4.399.
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r--src/nvim/buffer_defs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index 35fa3978b6..9c8cdd41ae 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -6,6 +6,8 @@
// for FILE
#include <stdio.h>
+typedef struct file_buffer buf_T; // Forward declaration
+
// for garray_T
#include "nvim/garray.h"
// for pos_T, lpos_T and linenr_T
@@ -16,7 +18,7 @@
#include "nvim/iconv.h"
// for jump list and tag stack sizes in a buffer and mark types
#include "nvim/mark_defs.h"
-// for u_header_T
+// for u_header_T; needs buf_T.
#include "nvim/undo_defs.h"
// for hashtab_T
#include "nvim/hashtab.h"
@@ -80,7 +82,6 @@ typedef struct window_S win_T;
typedef struct wininfo_S wininfo_T;
typedef struct frame_S frame_T;
typedef int scid_T; /* script ID */
-typedef struct file_buffer buf_T; /* forward declaration */
// for struct memline (it needs memfile_T)
#include "nvim/memline_defs.h"