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 }, },