mirror of
https://github.com/neovim/neovim.git
synced 2026-08-28 10:01:49 +00:00
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)
3a6f952cc8
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -438,6 +438,8 @@ local extension = {
|
||||
opam = "opam",
|
||||
["or"] = "openroad",
|
||||
ora = "ora",
|
||||
org = "org",
|
||||
org_archive = "org",
|
||||
pxsl = "papp",
|
||||
papp = "papp",
|
||||
pxml = "papp",
|
||||
|
||||
Reference in New Issue
Block a user