-- Options are automatically loaded before lazy.nvim startup
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua

-- LazyVim's default syncs clipboard only outside SSH:
--   vim.opt.clipboard = vim.env.SSH_CONNECTION and "" or "unnamedplus"
-- Disabled entirely because wl-clipboard triggers GNOME window spawning on every yank.
-- Use <leader>y/<leader>p for explicit clipboard access.
vim.opt.clipboard = ""
vim.opt.winborder = "rounded"
vim.opt.updatetime = 50
vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
vim.opt.listchars = { trail = "⋅", nbsp = "⋅", tab = "  " }

vim.g.ai_cmp = true
vim.g.markdown_recommended_style = 0
