nvim/lua/settings.lua

30 lines
759 B
Lua

-- Minimal settings for bootstrap and Phase 3.2
-- Disable unused language providers early; enable later only if a plugin requires them
vim.g.loaded_ruby_provider = 0
vim.g.loaded_perl_provider = 0
vim.g.loaded_node_provider = 0
-- Enable project-local configuration files
vim.opt.exrc = true -- Load .nvim.lua from project root
vim.opt.secure = true -- Prompt before loading untrusted files
-- Phase 3.2: non-plugin settings (legacy values where specified)
-- Completion UI for nvim-cmp
vim.opt.completeopt = { 'menu', 'menuone', 'noselect' }
-- Spelling
vim.opt.spelllang = { 'en_gb' }
-- Visuals
vim.opt.showbreak = ''
vim.opt.listchars = {
eol = '¬',
tab = '',
trail = '~',
extends = '>',
precedes = '<',
space = '·',
}