Patch 9.0.0443
Problem:    Blueprint files are not recognized.
Solution:   Add a pattern for blueprint files. (Gabriele Musco, closes #11107)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.0442/runtime/filetype.vim        2022-09-10 11:04:19.140524645 
+0100
--- runtime/filetype.vim        2022-09-11 13:36:52.153222177 +0100
***************
*** 874,884 ****
  
  " i3
  au BufNewFile,BufRead */i3/config             setf i3config
! au BufNewFile,BufRead */.i3/config    setf i3config
  
  " sway
  au BufNewFile,BufRead */sway/config           setf swayconfig
! au BufNewFile,BufRead */.sway/config  setf swayconfig
  
  " Icon
  au BufNewFile,BufRead *.icn                   setf icon
--- 874,884 ----
  
  " i3
  au BufNewFile,BufRead */i3/config             setf i3config
! au BufNewFile,BufRead */.i3/config            setf i3config
  
  " sway
  au BufNewFile,BufRead */sway/config           setf swayconfig
! au BufNewFile,BufRead */.sway/config          setf swayconfig
  
  " Icon
  au BufNewFile,BufRead *.icn                   setf icon
***************
*** 2579,2584 ****
--- 2579,2586 ----
        \|   setf text
        \| endif
  
+ " Blueprint markup files
+ au BufNewFile,BufRead *.blp                   setf blueprint
  
  " Use the filetype detect plugins.  They may overrule any of the previously
  " detected filetypes.
*** ../vim-9.0.0442/src/testdir/test_filetype.vim       2022-09-10 
11:04:19.140524645 +0100
--- src/testdir/test_filetype.vim       2022-09-11 13:34:13.313406577 +0100
***************
*** 88,93 ****
--- 88,94 ----
      \ 'bindzone': ['named.root', '/bind/db.file', '/named/db.file', 
'any/bind/db.file', 'any/named/db.file'],
      \ 'bitbake': ['file.bb', 'file.bbappend', 'file.bbclass', 
'build/conf/local.conf', 'meta/conf/layer.conf', 'build/conf/bbappend.conf', 
'meta-layer/conf/distro/foo.conf'],
      \ 'blank': ['file.bl'],
+     \ 'blueprint': ['file.blp'],
      \ 'bsdl': ['file.bsd', 'file.bsdl'],
      \ 'bst': ['file.bst'],
      \ 'bzl': ['file.bazel', 'file.bzl', 'WORKSPACE'],
*** ../vim-9.0.0442/src/version.c       2022-09-11 13:30:21.925587357 +0100
--- src/version.c       2022-09-11 13:37:13.045195149 +0100
***************
*** 705,706 ****
--- 705,708 ----
  {   /* Add new patch number below this line */
+ /**/
+     443,
  /**/

-- 
It was recently discovered that research causes cancer in rats.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220911123809.3B6DD1C0CF3%40moolenaar.net.

Raspunde prin e-mail lui