diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-05 20:56:38 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-05 20:56:38 +0000 |
commit | c689f8c3d98fffe7e13730e198ce120934528f9c (patch) | |
tree | 40a8e9be0d9b4db636f7e06bd6a0ae7ac8d7fbdf /runtime/scripts.vim | |
parent | e60b3c47d701e73ecbadb1b9a12bf82010cadae8 (diff) |
patch 8.2.4014: git and gitcommit file types not properly recognizedv8.2.4014
Problem: Git and gitcommit file types not properly recognized.
Solution: Adjust filetype detection. (Tim Pope, closes #9477)
Diffstat (limited to 'runtime/scripts.vim')
-rw-r--r-- | runtime/scripts.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/scripts.vim b/runtime/scripts.vim index 3790b1c10f..e41405a6c5 100644 --- a/runtime/scripts.vim +++ b/runtime/scripts.vim @@ -384,7 +384,7 @@ else set ft=scheme " Git output - elseif s:line1 =~# '^\(commit\|tree\|object\) \x\{40\}\>\|^tag \S\+$' + elseif s:line1 =~# '^\(commit\|tree\|object\) \x\{40,\}\>\|^tag \S\+$' set ft=git " Gprof (gnu profiler) |