mirror of
https://github.com/Iron-E/nvim-libmodal
synced 2024-11-10 13:10:29 +00:00
49a02ad692
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.
10 lines
448 B
Lua
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'})
|