Nvim: optimize startup time

This commit is contained in:
Robert Kmieć
2023-08-02 10:52:41 +02:00
parent 0bb033cca0
commit 8e017728d2
3 changed files with 8 additions and 2 deletions

View File

@@ -18,7 +18,6 @@ return {
start_in_insert = true,
-- These are passed to nvim_open_win
anchor = "SW",
border = "rounded",
-- 'editor' and 'win' will default to being centered
relative = "cursor",
@@ -37,6 +36,10 @@ return {
winblend = 10,
-- Disable line wrapping
wrap = false,
list = true,
listchars = "precedes:…,extends:…",
-- Increase this for more context when text scrolls off the window
sidescrolloff = 0,
},
-- Set to `false` to disable
@@ -117,7 +120,6 @@ return {
-- Options for built-in selector
builtin = {
-- These are passed to nvim_open_win
anchor = "NW",
border = "rounded",
-- 'editor' and 'win' will default to being centered
relative = "editor",
@@ -126,6 +128,8 @@ return {
win_options = {
-- Window transparency (0-100)
winblend = 10,
cursorline = true,
cursorlineopt = "both",
},
-- These can be integers or a float between 0 and 1 (e.g. 0.4 for 40%)