diff options
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r-- | runtime/doc/lua.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index 01535a4e41..f071d67030 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -2674,7 +2674,7 @@ vim.filetype.add({filetypes}) *vim.filetype.add()* ['.*/etc/foo/.*%.conf'] = { 'dosini', { priority = 10 } }, -- A pattern containing an environment variable ['${XDG_CONFIG_HOME}/foo/git'] = 'git', - ['README.(%a+)$'] = function(path, bufnr, ext) + ['.*README.(%a+)'] = function(path, bufnr, ext) if ext == 'md' then return 'markdown' elseif ext == 'rst' then |