nvim/lua/config/options.lua

46 lines
1.2 KiB
Lua
Raw Permalink Normal View History

2023-03-08 13:06:56 -05:00
-- 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
-- Add any additional options here
2023-03-14 13:29:39 -04:00
vim.opt.relativenumber = false
vim.opt.conceallevel = 0
2023-03-14 14:30:37 -04:00
vim.opt.timeoutlen = 1000
vim.opt.list = false
vim.opt.pumblend = 0
vim.opt.tabstop = 4
vim.opt.shiftwidth = 4
2023-11-01 14:12:01 -04:00
vim.g.autoformat = false
2023-12-18 09:33:02 -05:00
vim.opt.completeopt = "menuone,noselect,preview"
2024-05-06 11:02:03 -04:00
vim.opt.foldmethod = "expr"
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
vim.opt.foldenable = false
2024-05-09 11:57:14 -04:00
vim.opt.exrc = true
vim.opt.ttimeoutlen = 0
2024-11-11 20:00:38 -05:00
vim.opt.termsync = false
2024-09-23 16:01:18 -04:00
-- local osc52 = require("vim.ui.clipboard.osc52")
--
-- vim.g.clipboard = {
-- name = "OSC 52",
-- copy = {
-- ["+"] = function(lines)
-- vim.g._clipboard = lines
-- osc52.copy("+")(lines)
-- end,
-- ["*"] = function(lines)
-- vim.g._clipboard = lines
-- osc52.copy("*")(lines)
-- end,
-- },
-- paste = {
-- -- ['+'] = require('vim.ui.clipboard.osc52').paste('+'),
-- -- ['*'] = require('vim.ui.clipboard.osc52').paste('*'),
-- ["+"] = function()
-- return vim.g._clipboard
-- end,
-- ["*"] = function()
-- return vim.g._clipboard
-- end,
-- },
-- }