diff options
| author | Florian Walch <florian@fwalch.com> | 2015-01-10 20:52:48 +0100 |
|---|---|---|
| committer | Florian Walch <florian@fwalch.com> | 2015-04-08 18:33:54 +0300 |
| commit | dea2731184f23521f5eae03ab46cbe811b8825b7 (patch) | |
| tree | c5e8bd2fc9e1ee9a98620eafe45675c4b15a87c2 /src/nvim/buffer_defs.h | |
| parent | 95db8df682ea7ac392a1e9a6de45a6ccc0727df1 (diff) | |
| download | rneovim-dea2731184f23521f5eae03ab46cbe811b8825b7.tar.gz rneovim-dea2731184f23521f5eae03ab46cbe811b8825b7.tar.bz2 rneovim-dea2731184f23521f5eae03ab46cbe811b8825b7.zip | |
vim-patch: Port parts of Vim 7.4.399.
Resolves #1753.
https://code.google.com/p/vim/source/detail?r=v7-4-399
Reviewed-by: Felipe Oliveira Carvalho <felipekde@gmail.com>
Helped-by: David Bürgin <676c7473@gmail.com>
Helped-by: Scott Prager <splinterofchaos@gmail.com>
Helped-by: Michael Reed <m.reed@mykolab.com>
Helped-by: Felipe Oliveira Carvalho <felipekde@gmail.com>
Diffstat (limited to 'src/nvim/buffer_defs.h')
| -rw-r--r-- | src/nvim/buffer_defs.h | 5 |
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" |