aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/filetype.lua
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2024-08-29 00:11:32 +0200
committerGitHub <noreply@github.com>2024-08-29 06:11:32 +0800
commitcd05a72fec49bfaa3911c141ac605b67b6e2270a (patch)
tree2b728b87a5c6896ab676b5e426ab198cb78b50a5 /runtime/lua/vim/filetype.lua
parent3085c9d9daab611a2a20a1db44868a2e4c8f759e (diff)
downloadrneovim-cd05a72fec49bfaa3911c141ac605b67b6e2270a.tar.gz
rneovim-cd05a72fec49bfaa3911c141ac605b67b6e2270a.tar.bz2
rneovim-cd05a72fec49bfaa3911c141ac605b67b6e2270a.zip
docs: misc (#29719)
Co-authored-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com> Co-authored-by: Lauri Heiskanen <lauri.heiskanen@nimble.fi> Co-authored-by: Piotr Doroszewski <5605596+Doroszewski@users.noreply.github.com> Co-authored-by: Tobiasz Laskowski <tobil4sk@outlook.com> Co-authored-by: ariel-lindemann <41641978+ariel-lindemann@users.noreply.github.com> Co-authored-by: glepnir <glephunter@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'runtime/lua/vim/filetype.lua')
-rw-r--r--runtime/lua/vim/filetype.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index 71a49445de..d3c33c9564 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -2518,7 +2518,7 @@ end
--- ['.*/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