robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
9bfa337899
master
1#pragma once 2 3#include <stdbool.h> 4 5#include "nvim/pos_defs.h" 6 7/// Search/highlight subsystem state. 8typedef struct { 9bool hl_match ;///< Highlight the match, starting at cursor pos. 10linenr_T match_lines ;///< Lines after the match (0 for a match within one line). 11colnr_T match_endcol ;///< Column just after the match in the last line. 12linenr_T first_line ;///< For :{FIRST},{last}s/pat. 13linenr_T last_line ;///< For :{first},{LAST}s/pat. 14bool no_smartcase ;///< Don't use 'smartcase' once. 15int cmdlen ;///< Length of previous search cmd. 16bool no_hlsearch ;///< Don't use 'hlsearch' temporarily. 17}SearchState ;