mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-26 10:48:45 +02:00
fix(options): use vim.opt
and trigger Lazy ui reload when needed. Fixes #38
This commit is contained in:
parent
83d18dbcee
commit
e405023530
2 changed files with 5 additions and 2 deletions
|
@ -3,8 +3,7 @@
|
|||
vim.g.mapleader = " "
|
||||
vim.g.maplocalleader = " "
|
||||
|
||||
-- set global only, to make sure we don't override the Lazy ui
|
||||
local opt = vim.opt_global
|
||||
local opt = vim.opt
|
||||
|
||||
opt.autowrite = true -- enable auto write
|
||||
opt.clipboard = "unnamedplus" -- sync with system clipboard
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue