From 61f96810ad2a236b0468447e0d6a36181622ac22 Mon Sep 17 00:00:00 2001 From: krolyxon Date: Sat, 17 Sep 2022 11:57:15 +0530 Subject: [PATCH] add missing key triggers for which-key plugin --- lua/colors/integrations/nvim.lua | 32 ++++++++++++++++---------------- lua/colors/kdark.lua | 1 - lua/plugins/init.lua | 2 +- 3 files changed, 17 insertions(+), 18 deletions(-) diff --git a/lua/colors/integrations/nvim.lua b/lua/colors/integrations/nvim.lua index c2c7e8d..e5e4b77 100644 --- a/lua/colors/integrations/nvim.lua +++ b/lua/colors/integrations/nvim.lua @@ -1,21 +1,21 @@ local theme = require("colors.kdark").colors -local black = theme.black -- base00 -local red = theme.red -- base01 -local green = theme.green -- base02 -local yellow = theme.yellow -- base03 -local blue = theme.blue -- base04 -local magenta = theme.magenta -- base05 -local cyan = theme.cyan -- base06 -local white = theme.white -- base07 -local bright_black = theme.bright_black -- base08 -local bright_red = theme.bright_red -- base09 -local bright_green = theme.bright_green -- base0A -local bright_yellow = theme.bright_yellow -- base0B -local bright_blue = theme.bright_blue -- base0C -local bright_magenta = theme.bright_magenta -- base0D -local bright_cyan = theme.bright_cyan -- base0E -local bright_white = theme.bright_white -- base0F +local black = theme.black +local red = theme.red +local green = theme.green +local yellow = theme.yellow +local blue = theme.blue +local magenta = theme.magenta +local cyan = theme.cyan +local white = theme.white +local bright_black = theme.bright_black +local bright_red = theme.bright_red +local bright_green = theme.bright_green +local bright_yellow = theme.bright_yellow +local bright_blue = theme.bright_blue +local bright_magenta = theme.bright_magenta +local bright_cyan = theme.bright_cyan +local bright_white = theme.bright_white return { diff --git a/lua/colors/kdark.lua b/lua/colors/kdark.lua index 8b7c273..92079b7 100644 --- a/lua/colors/kdark.lua +++ b/lua/colors/kdark.lua @@ -1,7 +1,6 @@ local M = {} M.colors= { - -- black = "#131313", -- base00 black = "#000000", -- base00 red = "#cd0000", -- base01 green = "#00cd00", -- base02 diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index b1cfeb1..22e5090 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -192,7 +192,7 @@ local plugins = { ["folke/which-key.nvim"] = { disable = false, module = "which-key", - keys = "", + keys = { "", "\"", "'", "`" }, config = function() require "plugins.configs.whichkey" end,