Mercurial > vim
comparison runtime/filetype.vim @ 27877:834d3fba1e7c v8.2.4464
patch 8.2.4464: Dtrace files are recognized as filetype D
Commit: https://github.com/vim/vim/commit/4d56b971cbae01cc454eb09713326224993e38ed
Author: =?UTF-8?q?Teubel=20Gy=C3=B6rgy?= <tgyurci@gmail.com>
Date: Thu Feb 24 17:59:09 2022 +0000
patch 8.2.4464: Dtrace files are recognized as filetype D
Problem: Dtrace files are recognized as filetype D.
Solution: Add a pattern for Dtrace files. (Teubel Gy?rgy, closes https://github.com/vim/vim/issues/9841)
Add some more testing.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 24 Feb 2022 19:00:04 +0100 |
parents | 8fc68ce4a097 |
children | 3fd6b3ebe0b7 |
comparison
equal
deleted
inserted
replaced
27876:f98b3c85f54b | 27877:834d3fba1e7c |
---|---|
482 | 482 |
483 " ROCKLinux package description | 483 " ROCKLinux package description |
484 au BufNewFile,BufRead *.desc setf desc | 484 au BufNewFile,BufRead *.desc setf desc |
485 | 485 |
486 " the D language or dtrace | 486 " the D language or dtrace |
487 au BufNewFile,BufRead */dtrace/*.d setf dtrace | |
487 au BufNewFile,BufRead *.d call dist#ft#DtraceCheck() | 488 au BufNewFile,BufRead *.d call dist#ft#DtraceCheck() |
488 | 489 |
489 " Desktop files | 490 " Desktop files |
490 au BufNewFile,BufRead *.desktop,*.directory setf desktop | 491 au BufNewFile,BufRead *.desktop,*.directory setf desktop |
491 | 492 |