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
|
2023-05-20 13:27:54 -04:00
|
|
|
vim.opt.list = false
|
|
|
|
vim.opt.pumblend = 0
|
2023-06-09 11:20:30 -04:00
|
|
|
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
|
2024-06-19 16:45:33 -04:00
|
|
|
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('*'),
|
|
|
|
},
|
|
|
|
}
|