2026-08-08 13:57:02 +01:00
|
|
|
-- Set before any plugin defines a <leader> mapping
|
|
|
|
|
vim.g.mapleader = ' '
|
|
|
|
|
vim.g.maplocalleader = '\\'
|
|
|
|
|
|
2026-05-31 20:33:23 +01:00
|
|
|
vim.o.autocomplete = true
|
|
|
|
|
vim.o.pumborder = 'rounded'
|
|
|
|
|
vim.o.pummaxwidth = 40
|
|
|
|
|
vim.o.completeopt = 'menu,menuone,noinsert,nearest'
|
|
|
|
|
vim.o.number = true
|
2026-08-08 13:57:02 +01:00
|
|
|
-- Always shown, so git/diagnostic signs don't shift the text around
|
|
|
|
|
vim.o.signcolumn = 'yes'
|
2026-05-31 20:33:23 +01:00
|
|
|
vim.o.spelllang = 'en_gb'
|
|
|
|
|
vim.o.spell = true
|
|
|
|
|
vim.o.termguicolors = true
|