Data Structures | Macros | Typedefs | Functions | Variables
message.h File Reference
#include <stdarg.h>
#include <stdbool.h>
#include <stddef.h>
#include "nvim/api/private/defs.h"
#include "nvim/grid_defs.h"
#include "nvim/lib/kvec.h"
#include "nvim/macros.h"
#include "nvim/types.h"

Go to the source code of this file.

Data Structures

struct  HlMessageChunk
 
struct  msg_hist
 Message history for :messages More...
 

Macros

#define VIM_GENERIC   0
 
#define VIM_ERROR   1
 
#define VIM_WARNING   2
 
#define VIM_INFO   3
 
#define VIM_QUESTION   4
 
#define VIM_LAST_TYPE   4
 
#define VIM_YES   2
 
#define VIM_NO   3
 
#define VIM_CANCEL   4
 
#define VIM_ALL   5
 
#define VIM_DISCARDALL   6
 

Typedefs

typedef struct msg_hist MessageHistoryEntry
 Message history for :messages More...
 

Functions

typedef kvec_t (HlMessageChunk) HlMessage
 
EXTERN bool msg_ext_need_clear INIT (=false)
 

Variables

MessageHistoryEntryfirst_msg_hist
 First message. More...
 
MessageHistoryEntrylast_msg_hist
 Last message. More...
 

Macro Definition Documentation

◆ VIM_ALL

#define VIM_ALL   5

◆ VIM_CANCEL

#define VIM_CANCEL   4

◆ VIM_DISCARDALL

#define VIM_DISCARDALL   6

◆ VIM_ERROR

#define VIM_ERROR   1

◆ VIM_GENERIC

#define VIM_GENERIC   0

◆ VIM_INFO

#define VIM_INFO   3

◆ VIM_LAST_TYPE

#define VIM_LAST_TYPE   4

◆ VIM_NO

#define VIM_NO   3

◆ VIM_QUESTION

#define VIM_QUESTION   4

◆ VIM_WARNING

#define VIM_WARNING   2

◆ VIM_YES

#define VIM_YES   2

Typedef Documentation

◆ MessageHistoryEntry

typedef struct msg_hist MessageHistoryEntry

Message history for :messages

Function Documentation

◆ INIT()

EXTERN bool msg_ext_need_clear INIT ( )

◆ kvec_t()

typedef kvec_t ( HlMessageChunk  )

Variable Documentation

◆ first_msg_hist

MessageHistoryEntry* first_msg_hist

First message.

◆ last_msg_hist

MessageHistoryEntry* last_msg_hist

Last message.