neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

window.h (718B)


      1 #pragma once
      2 
      3 #include <stdbool.h>
      4 
      5 #include "nvim/buffer_defs.h"
      6 #include "nvim/eval/typval_defs.h"  // IWYU pragma: keep
      7 #include "nvim/os/os_defs.h"
      8 #include "nvim/pos_defs.h"
      9 #include "nvim/types_defs.h"
     10 
     11 /// Structure used by switch_win() to pass values to restore_win()
     12 typedef struct {
     13  win_T *sw_curwin;
     14  tabpage_T *sw_curtab;
     15  bool sw_same_win;  ///< VIsual_active was not reset
     16  bool sw_visual_active;
     17 } switchwin_T;
     18 
     19 /// Structure used by win_execute_before() to pass values to win_execute_after()
     20 typedef struct {
     21  win_T *wp;
     22  pos_T curpos;
     23  char cwd[MAXPATHL];
     24  int cwd_status;
     25  bool apply_acd;
     26  char *save_sfname;
     27  switchwin_T switchwin;
     28 } win_execute_T;
     29 
     30 #include "eval/window.h.generated.h"