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 7b059be commit f944786Copy full SHA for f944786
init.lua
@@ -91,9 +91,12 @@ vim.opt.mouse = 'a'
91
vim.opt.showmode = false
92
93
-- Sync clipboard between OS and Neovim.
94
+-- Schedule the setting after `UiEnter` because it can increase startup-time.
95
-- Remove this option if you want your OS clipboard to remain independent.
96
-- See `:help 'clipboard'`
-vim.opt.clipboard = 'unnamedplus'
97
+vim.schedule(function()
98
+ vim.opt.clipboard = 'unnamedplus'
99
+end)
100
101
-- Enable break indent
102
vim.opt.breakindent = true
0 commit comments