Add in php keyword
This commit is contained in:
parent
3e9b2534d5
commit
02459e81be
7
init.lua
7
init.lua
|
|
@ -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()`
|
||||
|
|
|
|||
Loading…
Reference in New Issue