aboutsummaryrefslogtreecommitdiff
path: root/runtime/filetype.vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-03-31 22:16:25 +0200
committerGitHub <noreply@github.com>2022-03-31 22:16:25 +0200
commit38ba2a75fcbb3a893bf8b22838ed06fec6228509 (patch)
treecb5284354b178b0dfac22656c2c3a1248afca443 /runtime/filetype.vim
parentdbcb76bd7a803dff82bb12b4e452ee34d2a67c09 (diff)
downloadrneovim-38ba2a75fcbb3a893bf8b22838ed06fec6228509.tar.gz
rneovim-38ba2a75fcbb3a893bf8b22838ed06fec6228509.tar.bz2
rneovim-38ba2a75fcbb3a893bf8b22838ed06fec6228509.zip
vim-patch:8.2.4658: org-mode files are not recognized (#17939)
Problem: Org-mode files are not recognized. Solution: Add patterns to recognize "org" files. (closes vim/vim#10046) https://github.com/vim/vim/commit/3a6f952cc87065a4cf1f6502b2054ba99fdf45ed
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r--runtime/filetype.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 9df89674e3..65e0b49e61 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1273,6 +1273,9 @@ au BufNewFile,BufRead *.[Oo][Pp][Ll] setf opl
" Oracle config file
au BufNewFile,BufRead *.ora setf ora
+" Org
+au BufNewFile,BufRead *.org,*.org_archive setf org
+
" Packet filter conf
au BufNewFile,BufRead pf.conf setf pf
@@ -1728,7 +1731,7 @@ au BufNewFile,BufRead .zshrc,.zshenv,.zlogin,.zlogout,.zcompdump setf zsh
au BufNewFile,BufRead *.zsh setf zsh
" Scheme
-au BufNewFile,BufRead *.scm,*.ss,*.sld,*.rkt,*.rktd,*.rktl setf scheme
+au BufNewFile,BufRead *.scm,*.ss,*.sld,*.rkt,*.rktd,*.rktl setf scheme
" Screen RC
au BufNewFile,BufRead .screenrc,screenrc setf screen