Skip to content

Commit ee8f983

Browse files
authored
Add missing autocommands for filetype detection (#5)
1 parent 2341ee3 commit ee8f983

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ftdetect/arcanist.vim

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,8 @@
2222
autocmd BufNewFile,BufRead .arc{config,lint,rc,unit} setfiletype json
2323

2424
let s:tmp = !empty($TMPDIR) ? '$TMPDIR' : '/tmp'
25-
execute 'au BufNewFile,BufRead ' . s:tmp . '/*/new-commit setfiletype arcanistdiff'
25+
execute 'au BufNewFile,BufRead ' . s:tmp . '/*/arcanist-patch-commit-message setfiletype arcanistdiff'
26+
execute 'au BufNewFile,BufRead ' . s:tmp . '/*/commit-message setfiletype arcanistdiff'
2627
execute 'au BufNewFile,BufRead ' . s:tmp . '/*/differential-edit-revision-info setfiletype arcanistdiff'
28+
execute 'au BufNewFile,BufRead ' . s:tmp . '/*/differential-update-comments setfiletype arcanistdiff'
29+
execute 'au BufNewFile,BufRead ' . s:tmp . '/*/new-commit setfiletype arcanistdiff'

0 commit comments

Comments
 (0)