Patch 8.2.4187
Problem:    Gnuplot file not recognized.
Solution:   Recognize ".gnuplot". (closes #9588)
Files:      runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-8.2.4186/runtime/filetype.vim        2022-01-21 14:55:10.169295589 
+0000
--- runtime/filetype.vim        2022-01-23 11:16:11.909700430 +0000
***************
*** 714,720 ****
  au BufNewFile,BufRead {,.}gitolite.rc,example.gitolite.rc     setf perl
  
  " Gnuplot scripts
! au BufNewFile,BufRead *.gpi                   setf gnuplot
  
  " Go (Google)
  au BufNewFile,BufRead *.go                    setf go
--- 714,720 ----
  au BufNewFile,BufRead {,.}gitolite.rc,example.gitolite.rc     setf perl
  
  " Gnuplot scripts
! au BufNewFile,BufRead *.gpi,.gnuplot          setf gnuplot
  
  " Go (Google)
  au BufNewFile,BufRead *.go                    setf go
*** ../vim-8.2.4186/src/testdir/test_filetype.vim       2022-01-21 
14:55:10.169295589 +0000
--- src/testdir/test_filetype.vim       2022-01-23 11:15:31.858543895 +0000
***************
*** 203,209 ****
      \ 'gitsendemail': ['.gitsendemail.msg.xxxxxx'],
      \ 'gkrellmrc': ['gkrellmrc', 'gkrellmrc_x'],
      \ 'gnash': ['gnashrc', '.gnashrc', 'gnashpluginrc', '.gnashpluginrc'],
!     \ 'gnuplot': ['file.gpi'],
      \ 'go': ['file.go'],
      \ 'gomod': ['go.mod'],
      \ 'gp': ['file.gp', '.gprc'],
--- 203,209 ----
      \ 'gitsendemail': ['.gitsendemail.msg.xxxxxx'],
      \ 'gkrellmrc': ['gkrellmrc', 'gkrellmrc_x'],
      \ 'gnash': ['gnashrc', '.gnashrc', 'gnashpluginrc', '.gnashpluginrc'],
!     \ 'gnuplot': ['file.gpi', '.gnuplot'],
      \ 'go': ['file.go'],
      \ 'gomod': ['go.mod'],
      \ 'gp': ['file.gp', '.gprc'],
*** ../vim-8.2.4186/src/version.c       2022-01-22 20:55:26.548785095 +0000
--- src/version.c       2022-01-23 11:18:50.242361281 +0000
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     4187,
  /**/

-- 
"When I die, I want a tombstone that says "GAME OVER" - Ton Richters

 /// Bram Moolenaar -- b...@moolenaar.net -- 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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220123112008.3E63D1C343A%40moolenaar.net.

Raspunde prin e-mail lui