From 4537a53cc737f5b400e708dd97d3295357a5b38b Mon Sep 17 00:00:00 2001 From: Rohit Dandnayak Date: Wed, 9 Mar 2022 13:20:13 +0530 Subject: [PATCH] fix: comment plugin fixes, jsonls path fixed --- lua/user/lsp/settings/jsonls.lua | 2 +- lua/user/options.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/user/lsp/settings/jsonls.lua b/lua/user/lsp/settings/jsonls.lua index 1fffa68..2e0c3e6 100644 --- a/lua/user/lsp/settings/jsonls.lua +++ b/lua/user/lsp/settings/jsonls.lua @@ -1,5 +1,5 @@ local default_schemas = nil -local status_ok, jsonls_settings = pcall(require, "nlspsettings.jsonls") +local status_ok, jsonls_settings = pcall(require, "nlspsettings") if status_ok then default_schemas = jsonls_settings.get_default_schemas() end diff --git a/lua/user/options.lua b/lua/user/options.lua index 799aa9d..f7e951f 100644 --- a/lua/user/options.lua +++ b/lua/user/options.lua @@ -17,7 +17,7 @@ local options = { splitright = true, -- force all vertical splits to go to the right of current window swapfile = false, -- creates a swapfile -- termguicolors = true, -- set term gui colors (most terminals support this) - timeoutlen = 100, -- time to wait for a mapped sequence to complete (in milliseconds) + timeoutlen = 500, -- time to wait for a mapped sequence to complete (in milliseconds) undofile = true, -- enable persistent undo updatetime = 300, -- faster completion (4000ms default) writebackup = false, -- if a file is being edited by another program (or was written to file while editing with another program), it is not allowed to be edited