diff options
author | =?UTF-8?q?Teubel=20Gy=C3=B6rgy?= <tgyurci@gmail.com> | 2022-02-24 17:59:09 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-24 17:59:09 +0000 |
commit | 4d56b971cbae01cc454eb09713326224993e38ed (patch) | |
tree | e8ad0386cf93d936903fe72b0e0443a7c79d9b5f /runtime/filetype.vim | |
parent | 38b85cb4d7216705058708bacbc25ab90cd61595 (diff) |
patch 8.2.4464: Dtrace files are recognized as filetype Dv8.2.4464
Problem: Dtrace files are recognized as filetype D.
Solution: Add a pattern for Dtrace files. (Teubel György, closes #9841)
Add some more testing.
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 3b7f92dfff..77c736c180 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -484,6 +484,7 @@ au BufNewFile,BufRead */etc/dnsmasq.conf setf dnsmasq au BufNewFile,BufRead *.desc setf desc " the D language or dtrace +au BufNewFile,BufRead */dtrace/*.d setf dtrace au BufNewFile,BufRead *.d call dist#ft#DtraceCheck() " Desktop files |