1
0
forked from aniani/vim

patch 9.1.0865: filetype: org files are not recognized

Problem:  filetype: org files are not recognized
Solution: detect '*.org' files as 'org' filetype,
          include filetype and syntax plugin
          (Luca Saccarola)

closes: #16054

Signed-off-by: Luca Saccarola <github.e41mv@aleeas.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Luca Saccarola
2024-11-14 22:44:14 +01:00
committed by Christian Brabandt
parent 4bd9b2b246
commit 0684800c85
6 changed files with 130 additions and 1 deletions

View File

@@ -1472,6 +1472,9 @@ au BufNewFile,BufRead *.markdown,*.mdown,*.mkd,*.mkdn,*.mdwn,*.md
\ setf markdown |
\ endif
" Org (Emacs' org-mode)
au BufNewFile,BufRead *.org setf org
" Mason (it used to include *.comp, are those Mason files?)
au BufNewFile,BufRead *.mason,*.mhtml setf mason