search re-highlighted, rainbow bracket now has white as first color

This commit is contained in:
2022-09-15 09:11:00 -05:00
parent e5c4e78632
commit 0ec852eaa2
2 changed files with 11 additions and 10 deletions
+1
View File
@@ -17,3 +17,4 @@ vim.cmd("colorscheme onedark")
--vim.cmd("colorscheme ghdark") --vim.cmd("colorscheme ghdark")
--vim.cmd("colorscheme github_dark_default") --vim.cmd("colorscheme github_dark_default")
--vim.cmd("colorscheme tokyonight") --vim.cmd("colorscheme tokyonight")
vim.cmd('hi rainbowcol1 guifg=#ffffff')
+10 -10
View File
@@ -61,15 +61,15 @@ opt.termguicolors = false
----------------------------------------------------- -----------------------------------------------------
-- DISABLE HIGHLIGHT OUTSIDE OF SEARCH AND REPLACE -- -- DISABLE HIGHLIGHT OUTSIDE OF SEARCH AND REPLACE --
----------------------------------------------------- -----------------------------------------------------
vim.cmd([[ --vim.cmd([[
" Enable highlighting all the matches in incsearch mode --" Enable highlighting all the matches in incsearch mode
" But don't enable hlsearch always --" But don't enable hlsearch always
augroup vimrc-incsearch-highlight --augroup vimrc-incsearch-highlight
autocmd! -- autocmd!
autocmd CmdlineEnter [/\?:] :set hlsearch -- autocmd CmdlineEnter [/\?:] :set hlsearch
autocmd CmdlineLeave [/\?:] :set nohlsearch -- autocmd CmdlineLeave [/\?:] :set nohlsearch
augroup END --augroup END
]]) --]])
--------------- ---------------
-- PROVIDERS -- -- PROVIDERS --
@@ -123,7 +123,7 @@ require("nvim-treesitter.configs").setup({
extended_mode = true, -- Also highlight non-bracket delimiters like html tags, boolean or table: lang -> boolean extended_mode = true, -- Also highlight non-bracket delimiters like html tags, boolean or table: lang -> boolean
max_file_lines = nil, -- Do not enable for files with more than n lines, int max_file_lines = nil, -- Do not enable for files with more than n lines, int
-- colors = {}, -- table of hex strings -- colors = {}, -- table of hex strings
-- termcolors = {} -- table of colour name strings --termcolors = {},
}, },
}) })