Add in php keyword

This commit is contained in:
Matt Blacker 2024-07-04 18:10:04 +10:00
parent 3e9b2534d5
commit 02459e81be
1 changed files with 7 additions and 0 deletions

View File

@ -193,6 +193,13 @@ vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper win
-- [[ Basic Autocommands ]]
-- See `:help lua-guide-autocommands`
vim.api.nvim_create_autocmd('FileType', {
pattern = 'php',
callback = function()
vim.opt_local.iskeyword:prepend '$'
end,
})
-- Highlight when yanking (copying) text
-- Try it with `yap` in normal mode
-- See `:help vim.highlight.on_yank()`