From b873a14c3adc0815a51a54fa96f4d2fcfc1e93ba Mon Sep 17 00:00:00 2001 From: Salar Rahmanian Date: Wed, 1 Mar 2023 21:52:13 -0800 Subject: [PATCH] nvim config update --- init.lua | 2 +- lua/plugins/lsp.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 17166c4..8bc6445 100644 --- a/init.lua +++ b/init.lua @@ -28,7 +28,7 @@ require("lazy").setup("plugins", { -- See `:help vim.o` -- Set highlight on search -vim.o.hlsearch = false +vim.o.hlsearch = true vim.o.incsearch = true -- clipboard diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 7961431..2da4a04 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -71,6 +71,7 @@ return { lua_ls = { Lua = { + diagnostics = { globals = { 'vim' } }, workspace = { checkThirdParty = false }, telemetry = { enable = false }, },