aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.h
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-10-18 08:38:15 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-10-18 12:51:35 -0300
commit42112e04a999c0f289939fce3142ef2c2517110a (patch)
tree5f2a1dd7395461be1bc6df7aa259fa8dd63008d3 /src/nvim/buffer_defs.h
parent68de5d79a243fecc9ef256d9d0356f8541aa3821 (diff)
downloadrneovim-42112e04a999c0f289939fce3142ef2c2517110a.tar.gz
rneovim-42112e04a999c0f289939fce3142ef2c2517110a.tar.bz2
rneovim-42112e04a999c0f289939fce3142ef2c2517110a.zip
ui: Refactor input buffer handling
All input buffer code was moved to os/input.c, and `inbuf` is now a `RBuffer` instance(which abstracts static buffer manipulation).
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r--src/nvim/buffer_defs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index 84d55fb730..6d097010ac 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -21,6 +21,8 @@
#include "nvim/eval_defs.h"
// for proftime_T
#include "nvim/profile.h"
+// for String
+#include "nvim/api/private/defs.h"
/*
* Flags for w_valid.
@@ -311,9 +313,7 @@ typedef struct {
int old_mod_mask;
buffheader_T save_readbuf1;
buffheader_T save_readbuf2;
-#ifdef USE_INPUT_BUF
- char_u *save_inputbuf;
-#endif
+ String save_inputbuf;
} tasave_T;
/*