diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-15 18:08:05 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-15 18:08:55 -0400 |
commit | 011cfc538cd7325897eb467979d68d6d5c0832cd (patch) | |
tree | 0758b868fdf66957c6251fea8edb77924753a772 /runtime | |
parent | b8c3bb67904794e9f45bdc4546aa43009f43c592 (diff) | |
download | rneovim-011cfc538cd7325897eb467979d68d6d5c0832cd.tar.gz rneovim-011cfc538cd7325897eb467979d68d6d5c0832cd.tar.bz2 rneovim-011cfc538cd7325897eb467979d68d6d5c0832cd.zip |
vim-patch:8.2.2769: Modula-3 config files are not recognized
Problem: Modula-3 config files are not recognized.
Solution: Add filetype patterns. (Doug Kearns)
https://github.com/vim/vim/commit/6bc00699c5049c40761d212bef1b490e2af7944c
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index b7157a14e7..7bfe048bbf 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -413,6 +413,10 @@ endif " Lynx config files au BufNewFile,BufRead lynx.cfg setf lynx +" Modula-3 configuration language (must be before *.cfg and *makefile) +au BufNewFile,BufRead *.quake,cm3.cfg setf m3quake +au BufNewFile,BufRead m3makefile,m3overrides setf m3build + " Quake au BufNewFile,BufRead *baseq[2-3]/*.cfg,*id1/*.cfg setf quake au BufNewFile,BufRead *quake[1-3]/*.cfg setf quake @@ -1041,10 +1045,10 @@ au BufNewFile,BufRead *.mod \ setf modsim3 | \ endif -" Modula 2 (.md removed in favor of Markdown) +" Modula-2 (.md removed in favor of Markdown) au BufNewFile,BufRead *.m2,*.DEF,*.MOD,*.mi setf modula2 -" Modula 3 (.m3, .i3, .mg, .ig) +" Modula-3 (.m3, .i3, .mg, .ig) au BufNewFile,BufRead *.[mi][3g] setf modula3 " Monk |