We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd66454 commit 84cc123Copy full SHA for 84cc123
init.lua
@@ -111,9 +111,12 @@ vim.opt.mouse = 'a'
111
vim.opt.showmode = false
112
113
-- Sync clipboard between OS and Neovim.
114
+-- Schedule the setting after `UiEnter` because it can increase startup-time.
115
-- Remove this option if you want your OS clipboard to remain independent.
116
-- See `:help 'clipboard'`
-vim.opt.clipboard = 'unnamedplus'
117
+vim.schedule(function()
118
+ vim.opt.clipboard = 'unnamedplus'
119
+end)
120
121
-- Enable break indent
122
vim.opt.breakindent = true
0 commit comments