1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 20:00:05 +08:00
SpaceVim/bundle/hop.nvim/lua/hop/priority.lua
2022-04-27 22:13:32 +08:00

15 lines
455 B
Lua

-- Magic constants for highlight priorities;
--
-- Priorities are ranged on 16-bit integers; 0 is the least priority and 2^16 - 1 is the higher.
-- We want Hop to override everything so we use a very high priority for grey (2^16 - 3 = 65533); hint
-- priorities are one level above (2^16 - 2) and the virtual cursor one level higher (2^16 - 1), which
-- is the higher.
local M = {}
M.DIM_PRIO = 65533
M.HINT_PRIO = 65534
M.CURSOR_PRIO = 65535
return M