Added sql. Changed mode colors
This commit is contained in:
@@ -17,7 +17,7 @@ vim.opt.smartindent = true
|
|||||||
|
|
||||||
vim.opt.wrap = false
|
vim.opt.wrap = false
|
||||||
require('nvim-treesitter.configs').setup {
|
require('nvim-treesitter.configs').setup {
|
||||||
ensure_installed = { "c", "cpp", "lua", "zig", "go" },
|
ensure_installed = { "c", "cpp", "lua", "zig", "go", "sql" },
|
||||||
sync_install = false,
|
sync_install = false,
|
||||||
auto_install = false,
|
auto_install = false,
|
||||||
highlight = {
|
highlight = {
|
||||||
|
|||||||
+4
-4
@@ -32,15 +32,15 @@ local function update_mode_colors()
|
|||||||
if current_mode == "n" then
|
if current_mode == "n" then
|
||||||
mode_color = "%#StatuslineAccent#"
|
mode_color = "%#StatuslineAccent#"
|
||||||
elseif current_mode == "i" or current_mode == "ic" then
|
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
|
elseif current_mode == "v" or current_mode == "V" or current_mode == "" then
|
||||||
mode_color = "%#DiffText#"
|
mode_color = "%#DiffText#"
|
||||||
elseif current_mode == "R" then
|
elseif current_mode == "R" then
|
||||||
mode_color = "%#Visual#"
|
mode_color = "%#DiffDelete#"
|
||||||
elseif current_mode == "c" then
|
elseif current_mode == "c" then
|
||||||
mode_color = "%#Cursor#"
|
mode_color = "%#DiffChange#"
|
||||||
elseif current_mode == "t" then
|
elseif current_mode == "t" then
|
||||||
mode_color = "%#FloatShadow#"
|
mode_color = "%#DiffDelete#"
|
||||||
end
|
end
|
||||||
return mode_color
|
return mode_color
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user