~ubuntu-branches/debian/sid/neovim/sid

« back to all changes in this revision

Viewing changes to src/nvim/bufhl_defs.h

  • Committer: Package Import Robot
  • Author(s): James McCoy
  • Date: 2016-04-18 21:42:19 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20160418214219-1e6d4o1fwqarzk46
Tags: 0.1.3-1
* New upstream release.  (Closes: #820562)
* debian/control:
  + Remove unnecessary luarocks Build-Depends
  + Add libkvm-dev Build-Depends for kfreebsd-*
  + Add python(3)-neovim to Recommends.  (Closes: #812737)
  + Declare compiance with policy 3.9.8, no changes needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef NVIM_BUFHL_DEFS_H
 
2
#define NVIM_BUFHL_DEFS_H
 
3
 
 
4
#include "nvim/pos.h"
 
5
#include "nvim/lib/kvec.h"
 
6
// bufhl: buffer specific highlighting
 
7
 
 
8
struct bufhl_hl_item
 
9
{
 
10
  int src_id;
 
11
  int hl_id;  // highlight group
 
12
  colnr_T start;  // first column to highlight
 
13
  colnr_T stop;  // last column to highlight
 
14
};
 
15
typedef struct bufhl_hl_item bufhl_hl_item_T;
 
16
 
 
17
typedef kvec_t(struct bufhl_hl_item) bufhl_vec_T;
 
18
 
 
19
typedef struct {
 
20
  bufhl_vec_T entries;
 
21
  int current;
 
22
  colnr_T valid_to;
 
23
} bufhl_lineinfo_T;
 
24
 
 
25
#endif  // NVIM_BUFHL_DEFS_H