diff --git a/init.lua b/init.lua index 2382fac..a4c22d9 100644 --- a/init.lua +++ b/init.lua @@ -17,7 +17,7 @@ vim.opt.smartindent = true vim.opt.wrap = false require('nvim-treesitter.configs').setup { - ensure_installed = { "c", "cpp", "lua", "zig", "go" }, + ensure_installed = { "c", "cpp", "lua", "zig", "go", "sql" }, sync_install = false, auto_install = false, highlight = { diff --git a/lua/statusline.lua b/lua/statusline.lua index 1f5cfae..942f784 100644 --- a/lua/statusline.lua +++ b/lua/statusline.lua @@ -32,15 +32,15 @@ local function update_mode_colors() if current_mode == "n" then mode_color = "%#StatuslineAccent#" elseif current_mode == "i" or current_mode == "ic" then - mode_color = "%#Search#" + mode_color = "%#DiffAdd#" elseif current_mode == "v" or current_mode == "V" or current_mode == "" then mode_color = "%#DiffText#" elseif current_mode == "R" then - mode_color = "%#Visual#" + mode_color = "%#DiffDelete#" elseif current_mode == "c" then - mode_color = "%#Cursor#" + mode_color = "%#DiffChange#" elseif current_mode == "t" then - mode_color = "%#FloatShadow#" + mode_color = "%#DiffDelete#" end return mode_color end