diff --git a/lua/settings.lua b/lua/settings.lua index 940d399..2d4ce4e 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -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 = {