diff options
author | Jon Parise <jon@indelible.org> | 2024-04-22 21:07:41 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-04-22 21:07:41 +0200 |
commit | ea999037a41292b3d3e00700a87a82fe5d2c12b2 (patch) | |
tree | 5842f54429416d8929e3d73d1857cad58ec42dd6 /runtime/filetype.vim | |
parent | 6b13e3d4e46393b3a35eed7c27ae020bcbd46a9b (diff) |
patch 9.1.0366: filetype: ondir files are not recognizedv9.1.0366
Problem: filetype: ondir files are not recognized
Solution: Detect '.ondirrc' as ondir filetype
(Jon Parise)
closes: #14604
Signed-off-by: Jon Parise <jon@indelible.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 8c7c015ef3..9d6b4bd260 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1593,6 +1593,9 @@ au BufNewFile,BufRead *.odin setf odin " Omnimark au BufNewFile,BufRead *.xom,*.xin setf omnimark +" ondir +au BufNewFile,BufRead .ondirrc setf ondir + " OPAM au BufNewFile,BufRead opam,*.opam,*.opam.template setf opam |