Skip to content

Commit 53eac86

Browse files
set ctrlp buffer's filetype
1 parent c6d1fc5 commit 53eac86

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

autoload/ctrlp.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2579,6 +2579,7 @@ fu! ctrlp#init(type, ...)
25792579
en
25802580
cal ctrlp#setlines(s:settype(type))
25812581
cal ctrlp#syntax()
2582+
set ft=ctrlp
25822583
cal s:SetDefTxt()
25832584
let curName = s:CurTypeName()
25842585
let shouldExitSingle = index(s:opensingle, curName[0])>=0 || index(s:opensingle, curName[1])>=0

0 commit comments

Comments
 (0)