dotfiles/nvim/lua/config/options.lua

47 lines
1 KiB
Lua
Raw Permalink 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
2025-04-06 15:37:42 +01:00
--vim.api.nvim_set_hl(0, "@keyword.function.python", { italic = true })
2024-10-27 16:21:40 +00:00
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-28 14:00:13 +00:00
opt.spelllang = "en_gb"
2025-04-06 15:37:42 +01:00
opt.number = true
opt.relativenumber = true
2024-11-17 15:09:38 +00:00
vim.opt.spell = false
2024-10-27 16:21:40 +00:00
2025-04-06 15:37:42 +01:00
-- vim.g.gruvbox_material_enable_bold = 1
-- vim.g.gruvbox_material_enable_italic = 0
--vim.g.gruvbox_italic = false
2024-10-27 16:21:40 +00:00
diagnostic.config({
virtual_text = false,
})