mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 06:46:07 +00:00
refactor: move tabline code to statusline.c (#21008)
* refactor: move tabline code to statusline.c Problem: Tabline code is closely related to statusline, but still left over in drawscreen.c and screen.c. Solution: Move it to statusline.c. * refactor: add statusline_defs.h
This commit is contained in:
@@ -6,8 +6,6 @@
|
||||
// for FILE
|
||||
#include <stdio.h>
|
||||
|
||||
#include "grid_defs.h"
|
||||
|
||||
typedef struct file_buffer buf_T; // Forward declaration
|
||||
|
||||
// Reference to a buffer that stores the value of buf_free_count.
|
||||
@@ -46,6 +44,8 @@ typedef struct {
|
||||
#include "nvim/marktree.h"
|
||||
// for float window title
|
||||
#include "nvim/extmark_defs.h"
|
||||
// for click definitions
|
||||
#include "nvim/statusline_defs.h"
|
||||
|
||||
#define GETFILE_SUCCESS(x) ((x) <= 0)
|
||||
#define MODIFIABLE(buf) (buf->b_p_ma)
|
||||
|
Reference in New Issue
Block a user