mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 22:36:09 +00:00

These are not needed after #35129 but making uncrustify still play nice with them was a bit tricky. Unfortunately `uncrustify --update-config-with-doc` breaks strings with backslashes. This issue has been reported upstream, and in the meanwhile auto-update on every single run has been disabled.
24 lines
739 B
C
24 lines
739 B
C
#pragma once
|
|
|
|
#include <limits.h>
|
|
#include <stdint.h> // IWYU pragma: keep
|
|
|
|
#include "nvim/buffer_defs.h" // IWYU pragma: keep
|
|
#include "nvim/eval/typval_defs.h" // IWYU pragma: keep
|
|
#include "nvim/garray_defs.h" // IWYU pragma: keep
|
|
#include "nvim/pos_defs.h" // IWYU pragma: keep
|
|
#include "nvim/types_defs.h" // IWYU pragma: keep
|
|
|
|
enum { FUZZY_MATCH_MAX_LEN = 1024, }; ///< max characters that can be matched
|
|
enum { FUZZY_SCORE_NONE = INT_MIN, }; ///< invalid fuzzy score
|
|
|
|
/// Fuzzy matched string list item. Used for fuzzy match completion. Items are
|
|
/// usually sorted by "score". The "idx" member is used for stable-sort.
|
|
typedef struct {
|
|
int idx;
|
|
char *str;
|
|
int score;
|
|
} fuzmatch_str_T;
|
|
|
|
#include "fuzzy.h.generated.h"
|