From 0ec852eaa209463724aadb2763a8acd9a725bc0e Mon Sep 17 00:00:00 2001 From: long Date: Thu, 15 Sep 2022 09:11:00 -0500 Subject: [PATCH] search re-highlighted, rainbow bracket now has white as first color --- init.lua | 1 + lua/config.lua | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/init.lua b/init.lua index 0882620..ef80171 100644 --- a/init.lua +++ b/init.lua @@ -17,3 +17,4 @@ vim.cmd("colorscheme onedark") --vim.cmd("colorscheme ghdark") --vim.cmd("colorscheme github_dark_default") --vim.cmd("colorscheme tokyonight") +vim.cmd('hi rainbowcol1 guifg=#ffffff') diff --git a/lua/config.lua b/lua/config.lua index d44adeb..22a4bce 100644 --- a/lua/config.lua +++ b/lua/config.lua @@ -61,15 +61,15 @@ opt.termguicolors = false ----------------------------------------------------- -- DISABLE HIGHLIGHT OUTSIDE OF SEARCH AND REPLACE -- ----------------------------------------------------- -vim.cmd([[ -" Enable highlighting all the matches in incsearch mode -" But don't enable hlsearch always -augroup vimrc-incsearch-highlight - autocmd! - autocmd CmdlineEnter [/\?:] :set hlsearch - autocmd CmdlineLeave [/\?:] :set nohlsearch -augroup END -]]) +--vim.cmd([[ +--" Enable highlighting all the matches in incsearch mode +--" But don't enable hlsearch always +--augroup vimrc-incsearch-highlight +-- autocmd! +-- autocmd CmdlineEnter [/\?:] :set hlsearch +-- autocmd CmdlineLeave [/\?:] :set nohlsearch +--augroup END +--]]) --------------- -- 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 max_file_lines = nil, -- Do not enable for files with more than n lines, int -- colors = {}, -- table of hex strings - -- termcolors = {} -- table of colour name strings + --termcolors = {}, }, })