From 5dc43ec4b9bec0732fb686ec14acdebaf845ec35 Mon Sep 17 00:00:00 2001 From: Nick Zana Date: Wed, 17 Nov 2021 04:34:16 -0500 Subject: [PATCH] Set reduced updatetime for lsp diagnostics --- lua/nvim_opts.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/nvim_opts.lua b/lua/nvim_opts.lua index 35a6eec..34b092a 100644 --- a/lua/nvim_opts.lua +++ b/lua/nvim_opts.lua @@ -27,6 +27,9 @@ o.expandtab = false -- Insert instead of spaces o.shiftwidth = 4 -- "Number of spaces used for each step of an (auto)indent" o.scrolloff = 8 -- Start scrolling when 8 away from top/bottom +-- Set diagnostic updatetime +vim.o.updatetime = 300 + -- search o.hlsearch = false o.incsearch = true -- Incremental highlighting while typing a search query