Skip to content

Commit

Permalink
Merge pull request #29 from treatmesubj/patch-1
Browse files Browse the repository at this point in the history
fix pattern
  • Loading branch information
cuducos authored Nov 11, 2023
2 parents 649bd35 + 44f8596 commit e3bdae4
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 @@ -85,7 +85,7 @@ require("yaml_nvim").setup({ ft = { "yaml", "other yaml filetype" } })

```lua
vim.api.nvim_create_autocmd({ "BufEnter", "CursorMoved" }, {
pattern = { "yaml" },
pattern = { "*.yaml" },
callback = function()
vim.opt_local.winbar = require("yaml_nvim").get_yaml_key_and_value()
end,
Expand Down

0 comments on commit e3bdae4

Please sign in to comment.