diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-03-08 19:33:25 +0000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-03-08 19:33:25 +0000 |
| commit | a0b42323ed4de19ca38d24c25134f7c86c47bba2 (patch) | |
| tree | 63d6fcee04277c93dbc913d592a2de4b5438b50f /src/buffer_utils.hh | |
| parent | da206d93238f26b6ceb070da7dae53b3f9418bb1 (diff) | |
Add a -debug flag to :edit to set the buffer as debug data
As for the *debug* buffer, buffers with the debug flag wont get
used for cycling through buffer, or word completion.
Diffstat (limited to 'src/buffer_utils.hh')
| -rw-r--r-- | src/buffer_utils.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer_utils.hh b/src/buffer_utils.hh index 58443062..92cc52cf 100644 --- a/src/buffer_utils.hh +++ b/src/buffer_utils.hh @@ -75,7 +75,7 @@ ColumnCount get_column(const Buffer& buffer, ByteCount get_byte_to_column(const Buffer& buffer, ColumnCount tabstop, DisplayCoord coord); -Buffer* create_fifo_buffer(String name, int fd, bool scroll = false); +Buffer* create_fifo_buffer(String name, int fd, Buffer::Flags flags, bool scroll = false); Buffer* open_file_buffer(StringView filename, Buffer::Flags flags = Buffer::Flags::None); Buffer* open_or_create_file_buffer(StringView filename, |
