summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbouzar Parvan <[email protected]>2022-02-16 13:01:06 +0330
committerGitHub <[email protected]>2022-02-16 13:01:06 +0330
commit0536775c8ba06fbc3044a2dc35262d429d4dce4b (patch)
tree53e68a3f2c18f42404a5e42e50c4b7bf6efa52e4
parent582b169ecfec6407e41e3775ed7680b6c540b28d (diff)
fix(timeoutlen): this has caused way too many issues in the past (#2287)
-rw-r--r--lua/lvim/config/settings.lua2
-rw-r--r--lua/lvim/lsp/config.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/lua/lvim/config/settings.lua b/lua/lvim/config/settings.lua
index 5d635b84..3f850b85 100644
--- a/lua/lvim/config/settings.lua
+++ b/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
diff --git a/lua/lvim/lsp/config.lua b/lua/lvim/lsp/config.lua
index 26b1b489..4feb64a9 100644
--- a/lua/lvim/lsp/config.lua
+++ b/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",
},