David Blume's GitList
Repositories
dotfiles.git
Code
Commits
Branches
Tags
Search
Tree:
ca163f1
Branches
Tags
main
pathogen
remove-vim-airline
vim-airline-disabled
vim-powerline
dotfiles.git
.vim
pack
plugins
start
p4changelist
ftdetect
p4changelist.vim
Exclude p4changelist from the "last cursor pos jump". (A regression caused by vim 8 pack plugins running before .vimrc, but pathogen ran them afterwards.)
David Blume
commited
ca163f1
at 2021-03-24 10:46:04
p4changelist.vim
Blame
History
Raw
" Vim filetype detection file " Language: P4 Changelist " Author: Wade Brown <wbrown@roku.com> " Copyright: Copyright (C) 2019 Wade Brown <wbrown@roku.com> " Licence: You may redistribute this under the same terms as Vim itself " " Detects p4 changelists edits and sets up the editor appropriately if &compatible || version < 600 finish endif au BufNewFile,BufRead /tmp/tmp.*.* call s:changelist_scan() function! s:changelist_scan() if getline(1) =~ '# A Perforce Change Specification.' setfiletype p4changelist endif endfunction