Mercurial > vim
diff src/proto/highlight.pro @ 26089:c544eacaf066 v8.2.3578
patch 8.2.3578: manipulating highlighting is complicated
Commit: https://github.com/vim/vim/commit/d1a8d658e1b16cf8579fc72cf7aa6a29a57ff5ef
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Wed Nov 3 21:56:45 2021 +0000
patch 8.2.3578: manipulating highlighting is complicated
Problem: Manipulating highlighting is complicated.
Solution: Add the hlget() and hlset() functions. (Yegappan Lakshmanan,
closes #9039)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 03 Nov 2021 23:00:08 +0100 |
parents | 92c424550367 |
children | bb87ce13e7d6 |
line wrap: on
line diff
--- a/src/proto/highlight.pro +++ b/src/proto/highlight.pro @@ -49,4 +49,6 @@ void set_context_in_highlight_cmd(expand char_u *get_highlight_name(expand_T *xp, int idx); char_u *get_highlight_name_ext(expand_T *xp, int idx, int skip_cleared); void free_highlight_fonts(void); +void f_hlget(typval_T *argvars, typval_T *rettv); +void f_hlset(typval_T *argvars, typval_T *rettv); /* vim: set ft=c : */