2024-10-27 16:21:40 +00:00
|
|
|
local global = vim.g
|
2024-01-31 21:13:31 +00:00
|
|
|
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"
|
|
|
|
|
2024-01-31 21:13:31 +00:00
|
|
|
opt.number = true
|
|
|
|
opt.showmatch = true
|
|
|
|
opt.ignorecase = true
|
|
|
|
opt.smartcase = true
|
|
|
|
opt.hlsearch = true
|
|
|
|
opt.incsearch = true
|
|
|
|
opt.tabstop = 2
|
|
|
|
opt.softtabstop = 4
|
2024-04-15 16:25:16 +01:00
|
|
|
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"
|
2024-01-31 21:13:31 +00:00
|
|
|
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"
|
2024-01-31 21:13:31 +00:00
|
|
|
opt.backspace = "indent,eol,start"
|
2024-02-25 17:58:21 +00:00
|
|
|
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,
|
|
|
|
})
|