nvim-libmodal/plugin/libmodal.lua
Iron-E 49a02ad692
merge!: cleanup the plugin
This was my first plugin. Looking back on it, it was full of bad
design decisions (and I have elected to keep most of the user-facing
ones for backwards-compatability). This merge tries to uncrustify the
plugin by standardizing the documentation, removing much unecessary
code, reorganizing the internal structures, and removing references to
my own made-up terminology.
2022-04-25 17:59:33 -04:00

10 lines
448 B
Lua

if vim.g.loaded_libmodal then return end
vim.g.loaded_libmodal = true
vim.g.libmodalTimeouts = vim.g.libmodalTimeouts or vim.go.timeout
-- The default highlight groups (for colors) are specified below.
-- Change these default colors by defining or linking the corresponding highlight group.
vim.api.nvim_set_hl(0, 'LibmodalPrompt', {default = true, link = 'ModeMsg'})
vim.api.nvim_set_hl(0, 'LibmodalStar', {default = true, link = 'StatusLine'})