require "nvchad.options" -- add yours here! -- local o = vim.o -- o.cursorlineopt ='both' -- to enable cursorline! vim.g.lua_snippets_path = { vim.fn.stdpath "config" .. "/snippets" } -- route "+/* registers through the terminal with OSC 52 when connected over SSH, -- since xclip/wl-copy on the server can't reach the local clipboard if vim.env.SSH_TTY or vim.env.SSH_CONNECTION then local osc52 = require "vim.ui.clipboard.osc52" vim.g.clipboard = { name = "osc52", copy = { ["+"] = osc52.copy "+", ["*"] = osc52.copy "*" }, paste = { ["+"] = osc52.paste "+", ["*"] = osc52.paste "*" }, } end