Mercurial > vim
comparison runtime/filetype.vim @ 25848:86c3af1be1db v8.2.3458
patch 8.2.3458: not all dictdconf files are recognized
Commit: https://github.com/vim/vim/commit/be01090efad242e30728275dea05420db6f96257
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 26 22:11:52 2021 +0100
patch 8.2.3458: not all dictdconf files are recognized
Problem: Not all dictdconf files are recognized.
Solution: Adjust the pattern. (Doug Kearns)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 26 Sep 2021 23:15:03 +0200 |
parents | 65de67669df3 |
children | a7305a9b32ba |
comparison
equal
deleted
inserted
replaced
25847:e18edc5e04a2 | 25848:86c3af1be1db |
---|---|
486 | 486 |
487 " Dict config | 487 " Dict config |
488 au BufNewFile,BufRead dict.conf,.dictrc setf dictconf | 488 au BufNewFile,BufRead dict.conf,.dictrc setf dictconf |
489 | 489 |
490 " Dictd config | 490 " Dictd config |
491 au BufNewFile,BufRead dictd.conf setf dictdconf | 491 au BufNewFile,BufRead dictd*.conf setf dictdconf |
492 | 492 |
493 " Diff files | 493 " Diff files |
494 au BufNewFile,BufRead *.diff,*.rej setf diff | 494 au BufNewFile,BufRead *.diff,*.rej setf diff |
495 au BufNewFile,BufRead *.patch | 495 au BufNewFile,BufRead *.patch |
496 \ if getline(1) =~ '^From [0-9a-f]\{40\} Mon Sep 17 00:00:00 2001$' | | 496 \ if getline(1) =~ '^From [0-9a-f]\{40\} Mon Sep 17 00:00:00 2001$' | |