33 lines
878 B
Lua
33 lines
878 B
Lua
-- 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
|
|
|
|
vim.opt.relativenumber = false
|
|
vim.opt.conceallevel = 0
|
|
vim.opt.timeoutlen = 1000
|
|
vim.opt.list = false
|
|
vim.opt.pumblend = 0
|
|
vim.opt.tabstop = 4
|
|
vim.opt.shiftwidth = 4
|
|
vim.g.autoformat = false
|
|
vim.opt.completeopt = "menuone,noselect,preview"
|
|
vim.opt.foldmethod = "expr"
|
|
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
|
|
vim.opt.foldenable = false
|
|
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('*'),
|
|
},
|
|
}
|