Browse Source

fix(timeoutlen): this has caused way too many issues in the past (#2287)

Abouzar Parvan 3 years ago
parent
commit
0536775c8b
2 changed files with 2 additions and 2 deletions
  1. 1 1
      lua/lvim/config/settings.lua
  2. 1 1
      lua/lvim/lsp/config.lua

+ 1 - 1
lua/lvim/config/settings.lua

@@ -26,7 +26,7 @@ M.load_default_options = function()
     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 = 250, -- time to wait for a mapped sequence to complete (in milliseconds)
     title = true, -- set the title of window to the value of the titlestring
     -- opt.titlestring = "%<%F%=%l/%L - nvim" -- what the title of the window will be set to
     undodir = join_paths(get_cache_dir(), "undo"), -- set an undo directory

+ 1 - 1
lua/lvim/lsp/config.lua

@@ -34,7 +34,7 @@ return {
   document_highlight = true,
   code_lens_refresh = true,
   float = {
-    focusable = false,
+    focusable = true,
     style = "minimal",
     border = "rounded",
   },