dotfiles/nvim/lua/config/options.lua

38 lines
750 B
Lua
Raw Normal View History

2024-10-27 16:21:40 +00:00
local global = vim.g
local opt = vim.opt
2024-10-27 16:21:40 +00:00
local diagnostic = vim.diagnostic
global.mapleader = ";"
global.maplocalleader = "\\"
global.lazyvim_picker = "telescope"
opt.number = true
opt.showmatch = true
opt.ignorecase = true
opt.smartcase = true
opt.hlsearch = true
opt.incsearch = true
opt.tabstop = 2
opt.softtabstop = 4
opt.shiftwidth = 2
2024-02-02 16:08:25 +00:00
opt.colorcolumn = "80"
opt.textwidth = 80
2024-03-28 14:40:10 +00:00
opt.clipboard = "unnamedplus"
opt.cursorline = true
opt.background = "dark"
opt.mouse = ""
opt.ttyfast = true
opt.laststatus = 2
opt.signcolumn = "yes"
opt.swapfile = false
opt.showmode = false
opt.termguicolors = true
opt.wrap = false
2024-02-02 16:08:25 +00:00
opt.formatoptions = "cro"
opt.backspace = "indent,eol,start"
opt.conceallevel = 0
2024-10-27 16:21:40 +00:00
diagnostic.config({
virtual_text = false,
})