From 44f8596d98bd19186451ab7dded0165d8df777dd Mon Sep 17 00:00:00 2001 From: John Hupperts <39680353+treatmesubj@users.noreply.github.com> Date: Fri, 10 Nov 2023 15:56:35 -0600 Subject: [PATCH] fix pattern --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2454c14..0035dc0 100644 --- a/README.md +++ b/README.md @@ -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,