mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 9.0.0922: Mermaid files are not recognized
Problem: Mermaid files are not recognized. Solution: Add patterns for Mermaid. (Crag MacEachern)
This commit is contained in:
@@ -1197,6 +1197,9 @@ au BufNewFile,BufRead hg-editor-*.txt setf hgcommit
|
||||
" Mercurial config (looks like generic config file)
|
||||
au BufNewFile,BufRead *.hgrc,*hgrc setf cfg
|
||||
|
||||
" Mermaid
|
||||
au BufNewFile,BufRead *.mmd,*.mmdc,*.mermaid setf mermaid
|
||||
|
||||
" Meson Build system config
|
||||
au BufNewFile,BufRead meson.build,meson_options.txt setf meson
|
||||
au BufNewFile,BufRead *.wrap setf dosini
|
||||
|
@@ -349,6 +349,7 @@ let s:filename_checks = {
|
||||
\ 'maxima': ['file.demo', 'file.dmt', 'file.dm1', 'file.dm2', 'file.dm3',
|
||||
\ 'file.wxm', 'maxima-init.mac'],
|
||||
\ 'mel': ['file.mel'],
|
||||
\ 'mermaid': ['file.mmd', 'file.mmdc', 'file.mermaid'],
|
||||
\ 'meson': ['meson.build', 'meson_options.txt'],
|
||||
\ 'messages': ['/log/auth', '/log/cron', '/log/daemon', '/log/debug', '/log/kern', '/log/lpr', '/log/mail', '/log/messages', '/log/news/news', '/log/syslog', '/log/user',
|
||||
\ '/log/auth.log', '/log/cron.log', '/log/daemon.log', '/log/debug.log', '/log/kern.log', '/log/lpr.log', '/log/mail.log', '/log/messages.log', '/log/news/news.log', '/log/syslog.log', '/log/user.log',
|
||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
922,
|
||||
/**/
|
||||
921,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user