aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ugrid.c
Commit message (Collapse)AuthorAge
* ui/tui: highlighting refactorBjörn Linse2018-02-11
| | | | | | | | Make HlAttr contain highlighting state for both color modes (cterm and rgb). This allows us to implement termguicolors completely in the TUI. Simplify some logic duplicated between ui.c and screen.c. Also avoid some superfluous highlighting reset events.
* ugrid.c: destroy_cells(): avoid double-freeJustin M. Keyes2018-01-16
| | | | https://github.com/neovim/neovim/issues/7572#issuecomment-345257295
* Adds nvim_get_hl_by_name/by_idMatthieu Coudron2017-09-30
| | | | | | | | | ...in order to retrieve highlights. Added test/functional/api/highlight_spec.lua HL_NORMAL is not really a good name, since it's more like an empty attribute than the normal's one. If one pays attention, syn_cterm_attr2entry is never called with attr=0 because it's always special cased before. I suggest in subsequent PRs we remove the ATTR_OFF and just insert an EMPTY ATTR/RESET_ATTR/UNINITIALIZED for id 0.
* *: Add comment to all C filesZyX2017-04-19
|
* tui: Move screen state tracking to new "ugrid" moduleThiago de Arruda2015-09-06
The ugrid module implements a unicode "drawing" grid and is used to store TUI screen state. Later this module will be reused in other layers.