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 9dd2767 commit ed09efaCopy full SHA for ed09efa
lua/options.lua
@@ -15,10 +15,10 @@ vim.opt.mouse = 'a'
15
-- Don't show the mode, since it's already in the status line
16
vim.opt.showmode = false
17
18
--- Sync clipboard between OS and Neovim.
19
--- Remove this option if you want your OS clipboard to remain independent.
20
--- See `:help 'clipboard'`
21
-vim.opt.clipboard = 'unnamedplus'
+-- Schedule the setting after `UiEnter` because it can increase startup-time.
+vim.schedule(function()
+ vim.opt.clipboard = 'unnamedplus'
+end)
22
23
-- Enable break indent
24
vim.opt.breakindent = true
0 commit comments