From 1f2903c43109b16594d141a730659317b15f388d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 23 Jul 2017 19:51:01 +0200 Subject: patch 8.0.0761: options not set properly for a terminal buffer Problem: Options of a buffer for a terminal window are not set properly. Solution: Add "terminal" value for 'buftype'. Make 'buftype' and 'bufhidden' not depend on the quickfix feature. Also set the buffer name and show "running" or "finished" in the window title. --- src/proto/quickfix.pro | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/proto/quickfix.pro') diff --git a/src/proto/quickfix.pro b/src/proto/quickfix.pro index 1fc8b4ae5d..a1a634eec2 100644 --- a/src/proto/quickfix.pro +++ b/src/proto/quickfix.pro @@ -12,11 +12,6 @@ void ex_cclose(exarg_T *eap); void ex_copen(exarg_T *eap); void ex_cbottom(exarg_T *eap); linenr_T qf_current_entry(win_T *wp); -int bt_quickfix(buf_T *buf); -int bt_nofile(buf_T *buf); -int bt_dontwrite(buf_T *buf); -int bt_dontwrite_msg(buf_T *buf); -int buf_hide(buf_T *buf); int grep_internal(cmdidx_T cmdidx); void ex_make(exarg_T *eap); int qf_get_size(exarg_T *eap); @@ -33,4 +28,10 @@ int set_ref_in_quickfix(int copyID); void ex_cbuffer(exarg_T *eap); void ex_cexpr(exarg_T *eap); void ex_helpgrep(exarg_T *eap); +int bt_quickfix(buf_T *buf); +int bt_terminal(buf_T *buf); +int bt_nofile(buf_T *buf); +int bt_dontwrite(buf_T *buf); +int bt_dontwrite_msg(buf_T *buf); +int buf_hide(buf_T *buf); /* vim: set ft=c : */ -- cgit v1.2.3