diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-07-25 10:16:33 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2022-08-17 16:20:39 +0200 |
commit | d879331b0dee66cb106b5bea9efc2f920caf9abd (patch) | |
tree | 05188f0b72e9aa7432f2f08516a6f239e491419f /src/nvim/hardcopy.c | |
parent | f7cfca49d6f1380b2ec0b0f7723ea308d0810857 (diff) | |
download | rneovim-d879331b0dee66cb106b5bea9efc2f920caf9abd.tar.gz rneovim-d879331b0dee66cb106b5bea9efc2f920caf9abd.tar.bz2 rneovim-d879331b0dee66cb106b5bea9efc2f920caf9abd.zip |
feat(ui): allow to set the highlight namespace per window
- reimplement 'winhl' in terms of highlight namespaces
- check for EOF in screen tests (to indicate a likely crash)
Diffstat (limited to 'src/nvim/hardcopy.c')
-rw-r--r-- | src/nvim/hardcopy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/hardcopy.c b/src/nvim/hardcopy.c index fa357f864e..d811a78ca8 100644 --- a/src/nvim/hardcopy.c +++ b/src/nvim/hardcopy.c @@ -900,7 +900,7 @@ static colnr_T hardcopy_line(prt_settings_T *psettings, int page_line, prt_pos_T } // syntax highlighting stuff. if (psettings->do_syntax) { - id = syn_get_id(curwin, ppos->file_line, col, 1, NULL, FALSE); + id = syn_get_id(curwin, ppos->file_line, col, 1, NULL, false); if (id > 0) { id = syn_get_final_id(id); } else { |