nvim/lua/config/options.lua

34 lines
878 B
Lua
Raw 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
function no_paste(reg)
return function(lines)
end
end
vim.g.clipboard = {
name = 'OSC 52',
copy = {
['+'] = require('vim.ui.clipboard.osc52').copy('+'),
['*'] = require('vim.ui.clipboard.osc52').copy('*'),
},
paste = {
['+'] = no_paste('+'),
['*'] = no_paste('*'),
},
}