changeset 19205:861b1cc1a8a2 v8.2.0161

patch 8.2.0161: not recognizing .gv file as dot filetype Commit: https://github.com/vim/vim/commit/f8ddb25789a6af530e69f499907979dfbff1c1ea Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 27 22:47:09 2020 +0100 patch 8.2.0161: not recognizing .gv file as dot filetype Problem: Not recognizing .gv file as dot filetype. Solution: Add *.gv to dot pattern. (closes https://github.com/vim/vim/issues/5544)
author Bram Moolenaar <Bram@vim.org>
date Mon, 27 Jan 2020 23:00:10 +0100
parents 55ec986c3e5f
children aef0009ba6e6
files runtime/doc/evim-it.1 runtime/doc/vim-it.1 runtime/doc/vimdiff-it.1 runtime/doc/vimtutor-it.1 runtime/doc/xxd-it.1 runtime/filetype.vim runtime/ftplugin/swift.vim runtime/ftplugin/swiftgyb.vim runtime/indent/lifelines.vim runtime/syntax/sil.vim runtime/syntax/swift.vim runtime/syntax/swiftgyb.vim src/testdir/test_filetype.vim src/version.c
diffstat 3 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
old mode 100755
new mode 100644
old mode 100755
new mode 100644
old mode 100755
new mode 100644
old mode 100755
new mode 100644
old mode 100755
new mode 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -491,7 +491,7 @@ au BufNewFile,BufRead *.rul
 au BufNewFile,BufRead *.com			call dist#ft#BindzoneCheck('dcl')
 
 " DOT
-au BufNewFile,BufRead *.dot			setf dot
+au BufNewFile,BufRead *.dot,*.gv		setf dot
 
 " Dylan - lid files
 au BufNewFile,BufRead *.lid			setf dylanlid
old mode 100755
new mode 100644
old mode 100755
new mode 100644
old mode 100755
new mode 100644
old mode 100755
new mode 100644
old mode 100755
new mode 100644
old mode 100755
new mode 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -139,7 +139,7 @@ let s:filename_checks = {
     \ 'dockerfile': ['Containerfile', 'Dockerfile', 'file.Dockerfile'],
     \ 'dosbatch': ['file.bat', 'file.sys'],
     \ 'dosini': ['.editorconfig', '/etc/yum.conf', 'file.ini'],
-    \ 'dot': ['file.dot'],
+    \ 'dot': ['file.dot', 'file.gv'],
     \ 'dracula': ['file.drac', 'file.drc', 'filelvs', 'filelpe'],
     \ 'dsl': ['file.dsl'],
     \ 'dtd': ['file.dtd'],
--- a/src/version.c
+++ b/src/version.c
@@ -743,6 +743,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    161,
+/**/
     160,
 /**/
     159,