add keyword settings

This commit is contained in:
Ray Elliott 2025-12-08 00:18:47 +00:00
parent e94c3cb923
commit a0d94be4f3
1 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,10 @@ vim.opt.completeopt = { 'menu', 'menuone', 'noselect' }
-- Spelling
vim.opt.spelllang = { 'en_gb' }
-- Keyword characters (add $ for PHP/shell variables, - for CSS/HTML/config files)
vim.opt.iskeyword:append('$')
vim.opt.iskeyword:append('-')
-- Visuals
vim.opt.showbreak = ''
vim.opt.listchars = {