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, start_in_insert = true,
-- These are passed to nvim_open_win -- These are passed to nvim_open_win
anchor = "SW",
border = "rounded", border = "rounded",
-- 'editor' and 'win' will default to being centered -- 'editor' and 'win' will default to being centered
relative = "cursor", relative = "cursor",
@@ -37,6 +36,10 @@ return {
winblend = 10, winblend = 10,
-- Disable line wrapping -- Disable line wrapping
wrap = false, 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 -- Set to `false` to disable
@@ -117,7 +120,6 @@ return {
-- Options for built-in selector -- Options for built-in selector
builtin = { builtin = {
-- These are passed to nvim_open_win -- These are passed to nvim_open_win
anchor = "NW",
border = "rounded", border = "rounded",
-- 'editor' and 'win' will default to being centered -- 'editor' and 'win' will default to being centered
relative = "editor", relative = "editor",
@@ -126,6 +128,8 @@ return {
win_options = { win_options = {
-- Window transparency (0-100) -- Window transparency (0-100)
winblend = 10, winblend = 10,
cursorline = true,
cursorlineopt = "both",
}, },
-- These can be integers or a float between 0 and 1 (e.g. 0.4 for 40%) -- These can be integers or a float between 0 and 1 (e.g. 0.4 for 40%)

View File

@@ -1,5 +1,6 @@
return { return {
'jakewvincent/mkdnflow.nvim', 'jakewvincent/mkdnflow.nvim',
ft = { "markdown" },
opts = { opts = {
modules = { modules = {
bib = true, bib = true,

View File

@@ -1,5 +1,6 @@
return { return {
'Civitasv/cmake-tools.nvim', 'Civitasv/cmake-tools.nvim',
ft = { "cpp", "c", "cmake" },
config = function() config = function()
--let g:cmake_build_options = [ "-j10" ] --let g:cmake_build_options = [ "-j10" ]
-- --