reduced package installations and plugin dependencies
This commit is contained in:
1 parent
d815813f9b
commit
085031114f
7 files changed
+77
-53
No files matched your search
@@ -1206,11 +1206,17 @@ function M.toggle()
|
||||
opts
|
||||
)
|
||||
|
||||
-- Colorizer
|
||||
-- Color highlighting
|
||||
km.nmap(
|
||||
km.leader2 "tc",
|
||||
function()
|
||||
vim.cmd("ColorizerToggle")
|
||||
local hipatterns = require("mini.hipatterns")
|
||||
local bufnr = vim.api.nvim_get_current_buf()
|
||||
hipatterns.toggle(bufnr)
|
||||
utils.notify_setting_enabled(
|
||||
"Color highlighting",
|
||||
vim.tbl_contains(hipatterns.get_enabled_buffers(), bufnr)
|
||||
)
|
||||
end,
|
||||
opts
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user