summaryrefslogtreecommitdiff
path: root/nvim/lua/config/lazy.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/config/lazy.lua')
-rwxr-xr-xnvim/lua/config/lazy.lua9
1 files changed, 3 insertions, 6 deletions
diff --git a/nvim/lua/config/lazy.lua b/nvim/lua/config/lazy.lua
index 6544947..bd58b9d 100755
--- a/nvim/lua/config/lazy.lua
+++ b/nvim/lua/config/lazy.lua
@@ -5,18 +5,15 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then
if vim.v.shell_error ~= 0 then
vim.api.nvim_echo({
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
- { out, "WarningMsg" },
+ { out, "WarningMsg" },
{ "\nPress any key to exit..." },
}, true, {})
vim.fn.getchar()
os.exit(1)
end
end
+
vim.opt.rtp:prepend(lazypath)
-vim.opt.clipboard = "unnamedplus"
-vim.api.nvim_create_autocmd("FileType", {
- command = "set formatoptions-=cro",
-})
vim.filetype.add({ extension = { cc = "cpp" } })
vim.filetype.add({ extension = { psv = "systemverilog" } })
@@ -40,7 +37,7 @@ require("lazy").setup({
checker = {
enabled = true, -- check for plugin updates periodically
notify = false, -- notify on update
- }, -- automatically check for plugin updates
+ }, -- automatically check for plugin updates
performance = {
rtp = {
-- disable some rtp plugins