Skip to content

Commit

Permalink
chore(README): fix code snippet for auto commands (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
zedutch committed Jan 22, 2024
1 parent 690879b commit 834d22e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Either of these can be used to run logic whilst dealing with conflicts
e.g.

```lua
vim.api.nvim_create_autocommand('User', {
vim.api.nvim_create_autocmd('User', {
pattern = 'GitConflictDetected',
callback = function()
vim.notify('Conflict detected in '..vim.fn.expand('<afile>'))
Expand Down

0 comments on commit 834d22e

Please sign in to comment.