mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 10:55:40 +00:00
refactor: move some constants out of vim_defs.h (#26298)
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
#include "nvim/gettext.h"
|
||||
#include "nvim/globals.h"
|
||||
#include "nvim/help.h"
|
||||
#include "nvim/highlight_defs.h"
|
||||
#include "nvim/highlight.h"
|
||||
#include "nvim/highlight_group.h"
|
||||
#include "nvim/macros_defs.h"
|
||||
#include "nvim/mark.h"
|
||||
@@ -252,6 +252,8 @@ static const char *e_current_quickfix_list_was_changed =
|
||||
static const char *e_current_location_list_was_changed =
|
||||
N_("E926: Current location list was changed");
|
||||
|
||||
enum { QF_WINHEIGHT = 10, }; ///< default height for quickfix window
|
||||
|
||||
// Quickfix window check helper macro
|
||||
#define IS_QF_WINDOW(wp) (bt_quickfix((wp)->w_buffer) && (wp)->w_llist_ref == NULL)
|
||||
// Location list window check helper macro
|
||||
|
||||
Reference in New Issue
Block a user