From 6f1bf54fa53bc34867164b4a599bc24e23f32c0a Mon Sep 17 00:00:00 2001 From: Kevin James Lausen Date: Sun, 29 May 2022 11:04:39 -0400 Subject: [PATCH] Enabled incremental search highlighting. --- lua/user/options.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/user/options.lua b/lua/user/options.lua index 040839c..5c36152 100644 --- a/lua/user/options.lua +++ b/lua/user/options.lua @@ -6,6 +6,7 @@ vim.opt.completeopt = { "menuone", "noselect" } -- mostly just for cmp vim.opt.conceallevel = 0 -- so that `` is visible in markdown files vim.opt.fileencoding = "utf-8" -- the encoding written to a file vim.opt.hlsearch = true -- highlight all matches on previous search pattern +vim.opt.incsearch = true -- Turn on incremental search highlighting. vim.opt.ignorecase = true -- ignore case in search patterns vim.opt.mouse = "a" -- allow the mouse to be used in neovim vim.opt.pumheight = 10 -- pop up menu height