Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erroneous interaction with :Git blame #53

Open
benknoble opened this issue Jan 27, 2022 · 0 comments
Open

Erroneous interaction with :Git blame #53

benknoble opened this issue Jan 27, 2022 · 0 comments

Comments

@benknoble
Copy link

benknoble commented Jan 27, 2022

Steps:

  1. Open project file
  2. Run :Git blame from tpope/fugitive
  3. Try P for re-blame; observe error
  4. Try gq to quit blame; same error prevents quitting the blame.

Error message:

Error detected while processing function <SNR>194_BlameJump[28]..BufEnter Autocommands for "*.go"..function gopher#go#set_build_package[11]..gopher#go#module[17]..function <SNR>194_BlameJump[28]..BufEnter Autocommands for "*.go"..function gopher#go#set_build_package[11]..gopher#go#module:
line    4:
E472: Command failed

and then

Error detected while processing function <SNR>194_BlameQuit[1]..<SNR>194_BlameLeave[4]..BufEnter Autocommands for "*.go"..function gopher#go#set_build_package[11]..gopher#go#module[17]..function <SNR>194_BlameQuit[1]..<SNR>194_BlameLeave[4]..BufEnter Autocommands for "*.go"..function gopher#go#set_build_package[11]..gopher#go#modul
e:
line    4:
E472: Command failed
Error detected while processing function <SNR>194_BlameQuit[1]..<SNR>194_BlameLeave:
line    4:
E171: Missing :endif
:GoDiag
VERSION
    VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jan 14 2022 09:12:50); macOS version - x86_64
    go version go1.17.1 darwin/amd64; GOPATH=/Users/ME/go; GOROOT=/usr/local/Cellar/go/1.17.1/libexec; GO111MODULE=(unset)
    gopher.vim version 6824327 2021-10-10 11:23:37 +0800 (4 months ago) Update tools
 
VARIABLES
    gopher_tag_transform   snakecase
    gopher_map            {'_default': 1, 'return': 'r', 'lint': 'l', 'implement': 'm', 'test-current': 't', 'error': 'e', '_imap_ctrl': 1, '_popup': 1, '_nmap_prefix': 'g', 'test': 'T', '_imap_prefix': '', 'fillstruct': 'f', 'if': 'i', 'install': ';'}
    gopher_tag_complete   ['db', 'json', 'json,omitempty', 'yaml']
    gopher_tag_default     json
    gopher_highlight      ['string-spell', 'string-fmt']
 
COMMAND HISTORY (newest on top)
    shell: 'go' 'list' '-m' '-f' '{{.Path}}�{{.Dir}}'
    exit 0; took 0.025s
    PROJECT�/Users/ME/code/PROJECT
 
    shell: 'go' 'list' '-m' '-f' '{{.Path}}�{{.Dir}}'
    exit 0; took 0.023s
    PROJECT�/Users/ME/code/PROJECT
 
    shell: 'go' 'list' '-m' '-f' '{{.Path}}�{{.Dir}}'
    exit 0; took 0.019s
    PROJECT�/Users/ME/code/PROJECT
 
:set
--- Options ---
  autoindent          colorcolumn=+0      cursorbind        noequalalways         helpheight=59       ignorecase          keywordprg=:GoDoc   list                pastetoggle=    scrollbind          showbreak=?>    noswapfile            textwidth=80        ttyfast             updatetime=250
  background=dark     concealcursor=nc    define=             filetype=go         hidden              incsearch           laststatus=2      nomodifiable          readonly            scrolloff=5         showcmd             syntax=go           timeoutlen=3000     ttymouse=sgr        wildmenu
  breakindent         conceallevel=2      display=truncate  nofoldenable          history=200         infercase           lazyredraw          mouse=a             relativenumber      shiftround          smartcase           tabstop=4           ttimeout            undodir=~/.undo   nowrap
  bufhidden=delete    confirm             encoding=utf-8      foldmethod=syntax   hlsearch          nojoinspaces          linebreak           nrformats=bin,hex   scroll=33           shiftwidth=0        suffixesadd=.go,/   termguicolors       ttimeoutlen=100     undofile
  comments=s1:/*,mb:*,ex:*/,://
  commentstring=// %s
  completeopt=menu,preview,longest,popup
  completepopup=align:menu
  diffopt=internal,filler,closeoff,vertical
  equalprg=gofmt 2>/dev/null || cat /dev/stdin
  errorformat=%-G# %.%#,%-G%.%#panic: %m,%Ecan't load package: %m,%A%f:%l:%c: %m,%A%f:%l: %m,%C%*\s%m,%-G%.%#
  fileencoding=utf-8
  fileencodings=ucs-bom,utf-8,default,latin1
  formatoptions=tcrqlnj
  grepformat=%f:%l:%c:%m,%f:%l:%m
  grepprg=rg --vimgrep
  include=^\t\%(\w\+\s\+\)\="\zs[^"]*\ze"$
  indentexpr=GoIndent(v:lnum)
  indentkeys=0{,0},0),0],:,0#,!^F,o,O,e,<:>,0=},0=)
  isfname=@,48-57,/,.,-,_,+,,,#,$,%,~,=,@-@
  listchars=tab:» ,trail:·,nbsp:|,precedes:<,extends:>
  makeprg=go install 
  maxmempattern=2000
  omnifunc=syntaxcomplete#Complete
  path=~/go/src,/usr/share/go/src/runtime,.,,
  runtimepath=~/.vim,~/.vim/pack/utility/opt/jqplay,~/.vim/pack/languages/opt/coqtail,~/.vim/pack/benknoble/opt/pollen,~/.vim/pack/benknoble/opt/scribble,~/.vim/pack/benknoble/opt/racket,~/.vim/pack/benknoble/opt/dafny,~/.vim/pack/utility/opt/heroku,~/.vim/pack/languages/opt/applescript,~/.vim/pack/languages/opt/tmux-tbone,~/.vim/pack/languages/opt/tmux,~/.vim/pack/languages/opt/go,~/.vim/pack/languages/opt/docker,~/.vim/pack/languages/opt/cs-omnisharp,~/.vim/pack/languages/opt/clojure-fireplace,~/.vim/pack/benknoble/opt/scala,~/.vim/pack/benknoble/opt/tmplr,~/.vim/pack/utility/start/vader,~/.vim/pack/utility/start/unimpaired,~/.vim/pack/utility/start/undotree,~/.vim/pack/utility/start/surround,~/.vim/pack/utility/start/splitjoin,~/.vim/pack/utility/start/rhubarb,~/.vim/pack/utility/start/repeat,~/.vim/pack/utility/start/presenting,~/.vim/pack/utility/start/obsession,~/.vim/pack/utility/start/indent-object,~/.vim/pack/utility/start/fugitive,~/.vim/pack/utility/start/fileselect,~/.vim/pack/utility/start/eunuch,~/.vim/pack/
  statusline=%([%1*%t%*]%)%5*%(%m%r%w%h%)%*%(%y[%{&expandtab?'S':'T'}]%)%([%{exists('*FugitiveHead')?FugitiveHead():''}]%)%=%<%([%3*%l,%c%*]%)%(%a%)%4*%([%{AleCountTotal()}]%)%*%(%{exists('*ObsessionStatus')?ObsessionStatus():''}%)
  tags=.git/tags;~,./tags,tags
  term=xterm-256color
  ttytype=xterm-256color
  viminfo='100,<50,s10,h,f1
  viminfofile=~/.viminfo
  whichwrap=b,s,<,>,[,]
  wildignore=*.a,*.o,*.bmp,*.gif,*.ico,*.jpg,*.png,.DS_Store,.git,.hg,.svn,*~,*.tmp,*.aux,*.bbl,*.blg,*.dvi,*.log,*.pdf,*.out,*.bcf,*.run.xml,*.vo,*.vok,*.vos,*.glob
  wildmode=longest,full
:autocmd
ALECleanupGroup  BufDelete
    *         if exists('*ale#engine#Cleanup') | call ale#engine#Cleanup(str2nr(expand(''))) | endif
fugitive_job  BufDelete
    *         call s:RunBufDelete(+expand(''))
fugitive_status  BufDelete
    *         if getbufvar(+expand(''), 'buftype') ==# 'terminal' |   if !empty(FugitiveGitDir(+expand(''))) |     call fugitive#DidChange(+expand('')) |   else |     call fugitive#DidChange(0) |  endif | endif
FileExplorer  BufEnter
    *         sil call s:LocalBrowse(expand(""))
ALEEvents  BufEnter
    *         call ale#events#ReadOrEnterEvent(str2nr(expand('')))
obsession  BufEnter
    *         if !get(g:, 'obsession_no_bufenter') |   exe s:persist() | endif
PresentingToggleTabline  BufEnter
    _SHOW_*_  set showtabline=0
rhubarb  BufEnter
    *         if expand('%') ==# '' && &previewwindow && pumvisible() && getbufvar('#', '&omnifunc') ==# 'rhubarb#omnifunc' |    setlocal nolist linebreak filetype=markdown | endif
fugitive_status  BufEnter
    index     call s:ReloadWinStatus()
    index.lock
              call s:ReloadWinStatus()
gopher.vim  BufEnter
    *.go      call gopher#go#set_build_package()
              call gopher#go#set_build_tags()
FileExplorer  BufLeave
    *         if &ft != "netrw"|let w:netrw_prvfile= expand("%:p")|endif
PresentingToggleTabline  BufLeave
    _SHOW_*_  let &showtabline=s:showtabline
vimrc_bash_fc  BufNewFile
    *bash-fc* setlocal noundofile
Notepad  BufNewFile
    /Users/ME/.wiki/notepad
              call bk#notepad#make()
heroku  BufNewFile
    *         if exists('*FugitiveCommonDir') && exists('*FugitiveConfigGetRegexp') |   call s:Detect(FugitiveCommonDir(+expand(''))) | elseif exists('*FugitiveExtractGitDir') |   call s:Detect(FugitiveExtractGitDir(expand(':p'))) | else |   call s:Detect(finddir('.git', '.;')) | endif
eunuch  BufNewFile
    *         let b:eunuch_new_file = 1
fugitive  BufNewFile
    *         call FugitiveDetect(expand(':p'), 0)
rhubarb  BufNewFile
    *.git/{PULLREQ_EDIT,ISSUE_EDIT,RELEASE_EDIT}MSG
              if &ft ==# '' || &ft ==# 'conf' |   set ft=gitcommit | endif
Network  BufReadCmd
    file://*  call netrw#FileUrlEdit(expand(""))
    ftp://*   exe "sil doau BufReadPre ".fnameescape(expand(""))|call netrw#Nread(2,expand(""))|exe "sil doau BufReadPost ".fnameescape(expand(""))
    rcp://*   exe "sil doau BufReadPre ".fnameescape(expand(""))|call netrw#Nread(2,expand(""))|exe "sil doau BufReadPost ".fnameescape(expand(""))
    scp://*   exe "sil doau BufReadPre ".fnameescape(expand(""))|call netrw#Nread(2,expand(""))|exe "sil doau BufReadPost ".fnameescape(expand(""))
    http://*  exe "sil doau BufReadPre ".fnameescape(expand(""))|call netrw#Nread(2,expand(""))|exe "sil doau BufReadPost ".fnameescape(expand(""))
    https://* exe "sil doau BufReadPre ".fnameescape(expand(""))|call netrw#Nread(2,expand(""))|exe "sil doau BufReadPost ".fnameescape(expand(""))
    dav://*   exe "sil doau BufReadPre ".fnameescape(expand(""))|call netrw#Nread(2,expand(""))|exe "sil doau BufReadPost ".fnameescape(expand(""))
    davs://*  exe "sil doau BufReadPre ".fnameescape(expand(""))|call netrw#Nread(2,expand(""))|exe "sil doau BufReadPost ".fnameescape(expand(""))
    rsync://* exe "sil doau BufReadPre ".fnameescape(expand(""))|call netrw#Nread(2,expand(""))|exe "sil doau BufReadPost ".fnameescape(expand(""))
    sftp://*  exe "sil doau BufReadPre ".fnameescape(expand(""))|call netrw#Nread(2,expand(""))|exe "sil doau BufReadPost ".fnameescape(expand(""))
tar  BufReadCmd
    tarfile::*
              call tar#Read(expand(""), 1)
    tarfile::*/*
              call tar#Read(expand(""), 1)
    *.tar.gz  call tar#Browse(expand(""))
    *.tar     call tar#Browse(expand(""))
    *.lrp     call tar#Browse(expand(""))
    *.tar.bz2 call tar#Browse(expand(""))
    *.tar.Z   call tar#Browse(expand(""))
    *.tbz     call tar#Browse(expand(""))
    *.tgz     call tar#Browse(expand(""))
    *.tar.lzma
              call tar#Browse(expand(""))
    *.tar.xz  call tar#Browse(expand(""))
    *.txz     call tar#Browse(expand(""))
    *.tar.zst call tar#Browse(expand(""))
    *.tzs     call tar#Browse(expand(""))
zip  BufReadCmd
    zipfile:* call zip#Read(expand(""), 1)
    zipfile:*/*
              call zip#Read(expand(""), 1)
    *.aar     call zip#Browse(expand(""))
    *.apk     call zip#Browse(expand(""))
    *.celzip  call zip#Browse(expand(""))
    *.crtx    call zip#Browse(expand(""))
    *.docm    call zip#Browse(expand(""))
    *.docx    call zip#Browse(expand(""))
    *.dotm    call zip#Browse(expand(""))
    *.dotx    call zip#Browse(expand(""))
    *.ear     call zip#Browse(expand(""))
    *.epub    call zip#Browse(expand(""))
    *.gcsx    call zip#Browse(expand(""))
    *.glox    call zip#Browse(expand(""))
    *.gqsx    call zip#Browse(expand(""))
    *.ja      call zip#Browse(expand(""))
    *.jar     call zip#Browse(expand(""))
    *.kmz     call zip#Browse(expand(""))
    *.odb     call zip#Browse(expand(""))
    *.odc     call zip#Browse(expand(""))
    *.odf     call zip#Browse(expand(""))
    *.odg     call zip#Browse(expand(""))
    *.odi     call zip#Browse(expand(""))
    *.odm     call zip#Browse(expand(""))
    *.odp     call zip#Browse(expand(""))
    *.ods     call zip#Browse(expand(""))
    *.odt     call zip#Browse(expand(""))
    *.otc     call zip#Browse(expand(""))
    *.otf     call zip#Browse(expand(""))
    *.otg     call zip#Browse(expand(""))
    *.oth     call zip#Browse(expand(""))
    *.oti     call zip#Browse(expand(""))
    *.otp     call zip#Browse(expand(""))
    *.ots     call zip#Browse(expand(""))
    *.ott     call zip#Browse(expand(""))
    *.oxt     call zip#Browse(expand(""))
    *.potm    call zip#Browse(expand(""))
    *.potx    call zip#Browse(expand(""))
    *.ppam    call zip#Browse(expand(""))
    *.ppsm    call zip#Browse(expand(""))
    *.ppsx    call zip#Browse(expand(""))
    *.pptm    call zip#Browse(expand(""))
    *.pptx    call zip#Browse(expand(""))
    *.sldx    call zip#Browse(expand(""))
    *.thmx    call zip#Browse(expand(""))
    *.vdw     call zip#Browse(expand(""))
    *.war     call zip#Browse(expand(""))
    *.wsz     call zip#Browse(expand(""))
    *.xap     call zip#Browse(expand(""))
    *.xlam    call zip#Browse(expand(""))
              call zip#Browse(expand(""))
    *.xlsb    call zip#Browse(expand(""))
    *.xlsm    call zip#Browse(expand(""))
    *.xlsx    call zip#Browse(expand(""))
    *.xltm    call zip#Browse(expand(""))
    *.xltx    call zip#Browse(expand(""))
    *.xpi     call zip#Browse(expand(""))
    *.zip     call zip#Browse(expand(""))
fugitive  BufReadCmd
    index{,.lock}
              if FugitiveIsGitDir(expand(':p:h')) |   let b:git_dir = s:Slash(expand(':p:h')) |   exe fugitive#BufReadStatus(v:cmdbang) | elseif filereadable(expand('')) |   silent doautocmd BufReadPre |   keepalt read  |   1delete_ |   silent doautocmd BufReadPost | else |   silent doautocmd BufNewFile | endif
    fugitive://*//*
              exe fugitive#BufReadCmd() | if &path =~# '^\.\%(,\|$\)' |   let &l:path = substitute(&path, '^\.,\=', '', '') | endif
CRfix  BufRead
    quickfix  nnoremap   
vimrc_last_cursor_position  BufRead
    *         if line("'\"") > 1 && line("'\"") <= line("$") && &ft !~# 'gitcommit' |   exe "normal! g`\"" | endif
heroku  BufRead
    *         if exists('*FugitiveCommonDir') && exists('*FugitiveConfigGetRegexp') |   call s:Detect(FugitiveCommonDir(+expand(''))) | elseif exists('*FugitiveExtractGitDir') |   call s:Detect(FugitiveExtractGitDir(expand(':p'))) | else |   call s:Detect(finddir('.git', '.;')) | endif
wheel_as_zip  BufRead
    *.whl     call zip#Browse(expand(''))
gzip  BufRead
    *.gz      call gzip#read("gzip -dn")
    *.bz2     call gzip#read("bzip2 -d")
    *.Z       call gzip#read("uncompress")
    *.lzma    call gzip#read("lzma -d")
    *.xz      call gzip#read("xz -d")
    *.lz      call gzip#read("lzip -d")
    *.zst     call gzip#read("zstd -d --rm")
    *.br      call gzip#read("brotli -d --rm")
    *.lzo     call gzip#read("lzop -d -U")
ALEEvents  BufRead
    *         call ale#events#ReadOrEnterEvent(str2nr(expand('')))
fugitive  BufRead
    *         call FugitiveDetect(expand(':p'), 0)
rhubarb  BufRead
    *.git/{PULLREQ_EDIT,ISSUE_EDIT,RELEASE_EDIT}MSG
              if &ft ==# '' || &ft ==# 'conf' |   set ft=gitcommit | endif
fugitive_temp  BufRead
    *         exe s:TempReadPost(expand(':p'))
vimrc_bash_fc  BufReadPre
    *bash-fc* setlocal noundofile
gzip  BufReadPre
    *.gz      setlocal bin
    *.bz2     setlocal bin
    *.Z       setlocal bin
    *.lzma    setlocal bin
    *.xz      setlocal bin
    *.lz      setlocal bin
    *.zst     setlocal bin
    *.br      setlocal bin
    *.lzo     setlocal bin
fugitive_temp  BufReadPre
    *         exe s:TempReadPre( expand(':p'))
Notepad  BufWinEnter
    /Users/ME/.wiki/notepad
              call bk#notepad#make()
ALEEvents  BufWinEnter
    *         call ale#events#LintOnEnter(str2nr(expand('')))
autofoldcolumn  BufWinEnter
    *         AutoOrigamiFoldColumn
fugitive_diff  BufWinEnter
    *         if s:can_diffoff(+expand('')) && s:diff_window_count() == 1 |   call s:diffoff() | endif
fugitive_diff  BufWinLeave
    *         if s:can_diffoff(+expand('')) && s:diff_window_count() == 2 |   call s:diffoff_all(s:Dir(+expand(''))) | endif
fugitive_blame  BufWinLeave
    *         execute getwinvar(+bufwinnr(+expand('')), 'fugitive_leave')
fugitive_temp  BufWipeout
    *         exe s:TempDelete(  expand(':p'))
Network  BufWriteCmd
    ftp://*   exe "sil doau BufWritePre ".fnameescape(expand(""))|exe 'Nwrite '.fnameescape(expand(""))|exe "sil doau BufWritePost ".fnameescape(expand(""))
    rcp://*   exe "sil doau BufWritePre ".fnameescape(expand(""))|exe 'Nwrite '.fnameescape(expand(""))|exe "sil doau BufWritePost ".fnameescape(expand(""))
    scp://*   exe "sil doau BufWritePre ".fnameescape(expand(""))|exe 'Nwrite '.fnameescape(expand(""))|exe "sil doau BufWritePost ".fnameescape(expand(""))
    http://*  exe "sil doau BufWritePre ".fnameescape(expand(""))|exe 'Nwrite '.fnameescape(expand(""))|exe "sil doau BufWritePost ".fnameescape(expand(""))
    file://*  exe "sil doau BufWritePre ".fnameescape(expand(""))|exe 'Nwrite '.fnameescape(expand(""))|exe "sil doau BufWritePost ".fnameescape(expand(""))
    dav://*   exe "sil doau BufWritePre ".fnameescape(expand(""))|exe 'Nwrite '.fnameescape(expand(""))|exe "sil doau BufWritePost ".fnameescape(expand(""))
    davs://*  exe "sil doau BufWritePre ".fnameescape(expand(""))|exe 'Nwrite '.fnameescape(expand(""))|exe "sil doau BufWritePost ".fnameescape(expand(""))
    rsync://* exe "sil doau BufWritePre ".fnameescape(expand(""))|exe 'Nwrite '.fnameescape(expand(""))|exe "sil doau BufWritePost ".fnameescape(expand(""))
    sftp://*  exe "sil doau BufWritePre ".fnameescape(expand(""))|exe 'Nwrite '.fnameescape(expand(""))|exe "sil doau BufWritePost ".fnameescape(expand(""))
tar  BufWriteCmd
    tarfile::*
              call tar#Write(expand(""))
    tarfile::*/*
              call tar#Write(expand(""))
zip  BufWriteCmd
    zipfile:* call zip#Write(expand(""))
    zipfile:*/*
              call zip#Write(expand(""))
fugitive  BufWriteCmd
    fugitive://*//[0-3]/*
              exe fugitive#BufWriteCmd()
gzip  BufWritePost
    *.gz      call gzip#write("gzip")
    *.bz2     call gzip#write("bzip2")
    *.Z       call gzip#write("compress -f")
    *.lzma    call gzip#write("lzma -z")
    *.xz      call gzip#write("xz -z")
    *.lz      call gzip#write("lzip")
    *.zst     call gzip#write("zstd --rm")
    *.br      call gzip#write("brotli --rm")
    *.lzo     call gzip#write("lzop -U")
ALEEvents  BufWritePost
    *         call ale#events#SaveEvent(str2nr(expand('')))
eunuch  BufWritePost
    *         unlet! b:eunuch_new_file
              if exists('b:chmod_post') |   call s:Chmod(0, b:chmod_post, '') |   edit |   unlet b:chmod_post | endif
gopher.vim-cache  BufWritePost
    *.go      let s:writetick += 1
fugitive_status  BufWritePost
    *         call fugitive#DidChange(+expand(''), 0)
eunuch  BufWrite
    *         if exists('b:eunuch_new_file') && getline(1) =~ '^#!\s*/' |   let b:chmod_post = '+x' | endif
AutoReply  CmdlineLeave
    :         call AutoReply(getcmdline())
vimrc_cmdwin_num  CmdwinEnter
    *         setlocal nonumber norelativenumber
CRfix  CmdwinEnter
    *         nnoremap   
endwise  CmdwinEnter
    *         call s:teardownMappings()
status_colors  ColorScheme
    dracula*  call s:set_statusline_colors_to_dracula()
    flattened_light
              call s:set_statusline_colors_to_flattened()
minimal_syntax  ColorScheme
    *         call s:minimal_colors()
italic_comments  ColorScheme
    *         if g:colors_name =~# '^dracula*' | highlight DraculaComment cterm=italic gui=italic | else | highlight Comment cterm=italic gui=italic | endif
fugitive_blame  ColorScheme
    *         call s:BlameRehighlight()
ALEEvents  CursorHold
    *         if exists('*ale#engine#Cleanup') | call ale#cursor#EchoCursorWarningWithDelay() | endif
              if exists('*ale#lsp#Send') | call ale#hover#ShowTruncatedMessageAtCursor() | endif
autofoldcolumn  CursorHold
    *         AutoOrigamiFoldColumn
matchparen  CursorMoved
    *         call s:Highlight_Matching_Pair()
Cool  CursorMoved
    *         call StartHL()
ALEEvents  CursorMoved
    *         if exists('*ale#engine#Cleanup') | call ale#cursor#EchoCursorWarningWithDelay() | endif
matchparen  CursorMovedI
    *         call s:Highlight_Matching_Pair()
gzip  FileAppendPost
    *.gz      call gzip#write("gzip")
    *.bz2     call gzip#write("bzip2")
    *.Z       call gzip#write("compress -f")
    *.lzma    call gzip#write("lzma -z")
    *.xz      call gzip#write("xz -z")
    *.lz      call gzip#write("lzip")
    *.zst     call gzip#write("zstd --rm")
    *.br      call gzip#write("brotli --rm")
    *.lzo     call gzip#write("lzop -U")
gzip  FileAppendPre
    *.gz      call gzip#appre("gzip -dn")
    *.bz2     call gzip#appre("bzip2 -d")
    *.Z       call gzip#appre("uncompress")
    *.lzma    call gzip#appre("lzma -d")
    *.xz      call gzip#appre("xz -d")
    *.lz      call gzip#appre("lzip -d")
    *.zst     call gzip#appre("zstd -d --rm")
    *.br      call gzip#appre("brotli -d --rm")
    *.lzo     call gzip#appre("lzop -d -U")
ALEEvents  FileChangedShellPost
    *         call ale#events#FileChangedEvent(str2nr(expand('')))
Network  FileReadCmd
    ftp://*   exe "sil doau FileReadPre ".fnameescape(expand(""))|call netrw#Nread(1,expand(""))|exe "sil doau FileReadPost ".fnameescape(expand(""))
    rcp://*   exe "sil doau FileReadPre ".fnameescape(expand(""))|call netrw#Nread(1,expand(""))|exe "sil doau FileReadPost ".fnameescape(expand(""))
    scp://*   exe "sil doau FileReadPre ".fnameescape(expand(""))|call netrw#Nread(1,expand(""))|exe "sil doau FileReadPost ".fnameescape(expand(""))
    http://*  exe "sil doau FileReadPre ".fnameescape(expand(""))|call netrw#Nread(1,expand(""))|exe "sil doau FileReadPost ".fnameescape(expand(""))
    file://*  exe "sil doau FileReadPre ".fnameescape(expand(""))|call netrw#Nread(1,expand(""))|exe "sil doau FileReadPost ".fnameescape(expand(""))
    https://* exe "sil doau FileReadPre ".fnameescape(expand(""))|call netrw#Nread(1,expand(""))|exe "sil doau FileReadPost ".fnameescape(expand(""))
    dav://*   exe "sil doau FileReadPre ".fnameescape(expand(""))|call netrw#Nread(1,expand(""))|exe "sil doau FileReadPost ".fnameescape(expand(""))
    davs://*  exe "sil doau FileReadPre ".fnameescape(expand(""))|call netrw#Nread(1,expand(""))|exe "sil doau FileReadPost ".fnameescape(expand(""))
    rsync://* exe "sil doau FileReadPre ".fnameescape(expand(""))|call netrw#Nread(1,expand(""))|exe "sil doau FileReadPost ".fnameescape(expand(""))
    sftp://*  exe "sil doau FileReadPre ".fnameescape(expand(""))|call netrw#Nread(1,expand(""))|exe "sil doau FileReadPost ".fnameescape(expand(""))
tar  FileReadCmd
    tarfile::*
              call tar#Read(expand(""), 0)
    tarfile::*/*
              call tar#Read(expand(""), 0)
zip  FileReadCmd
    zipfile:* call zip#Read(expand(""), 0)
    zipfile:*/*
              call zip#Read(expand(""), 0)
fugitive  FileReadCmd
    fugitive://*//*
              exe fugitive#FileReadCmd()
gzip  FileReadPost
    *.gz      call gzip#read("gzip -dn")
    *.bz2     call gzip#read("bzip2 -d")
    *.Z       call gzip#read("uncompress")
    *.lzma    call gzip#read("lzma -d")
    *.xz      call gzip#read("xz -d")
    *.lz      call gzip#read("lzip -d")
    *.zst     call gzip#read("zstd -d --rm")
    *.br      call gzip#read("brotli -d --rm")
    *.lzo     call gzip#read("lzop -d -U")
gzip  FileReadPre
    *.gz      setlocal bin
    *.bz2     setlocal bin
    *.Z       setlocal bin
    *.lzma    setlocal bin
    *.xz      setlocal bin
    *.lz      setlocal bin
    *.zst     setlocal bin
    *.br      setlocal bin
    *.lzo     setlocal bin
vimrc_completion  FileType
    *         if &omnifunc == "" | setlocal omnifunc=syntaxcomplete#Complete | endif
syntaxset  FileType
    *         exe "set syntax=" . expand("")
filetypeplugin  FileType
    *         call s:LoadFTPlugin()
filetypeindent  FileType
    *         call s:LoadIndent()
fix_formatoptions  FileType
    *         setlocal formatoptions=tcrqlnj
fireplace  FileType
    clojure   call fireplace#activate()
classpath  FileType
    clojure   if expand('%:p') =~# '^zipfile:' |   let &l:path = getbufvar('#', '&path') | else |   let &l:path = classpath#detect() | endif | command! -buffer -nargs=+ -complete=file Java execute '!'.classpath#java_cmd().' '.
    groovy    if expand('%:p') =~# '^zipfile:' |   let &l:path = getbufvar('#', '&path') | else |   let &l:path = classpath#detect() | endif | command! -buffer -nargs=+ -complete=file Java execute '!'.classpath#java_cmd().' '.
    java      if expand('%:p') =~# '^zipfile:' |   let &l:path = getbufvar('#', '&path') | else |   let &l:path = classpath#detect() | endif | command! -buffer -nargs=+ -complete=file Java execute '!'.classpath#java_cmd().' '.
    scala     if expand('%:p') =~# '^zipfile:' |   let &l:path = getbufvar('#', '&path') | else |   let &l:path = classpath#detect() | endif | command! -buffer -nargs=+ -complete=file Java execute '!'.classpath#java_cmd().' '.
    kotlin    if expand('%:p') =~# '^zipfile:' |   let &l:path = getbufvar('#', '&path') | else |   let &l:path = classpath#detect() | endif | command! -buffer -nargs=+ -complete=file Java execute '!'.classpath#java_cmd().' '.
sexp_mappings_for_regular_people  FileType
    lisp      call s:sexp_mappings()
    scheme    call s:sexp_mappings()
    clojure   call s:sexp_mappings()
scriptease  FileType
    help      call scriptease#setup_help()
    vim       call scriptease#setup_vim()
              if get(g:, 'scriptease_iskeyword', 1) |   setlocal iskeyword-=: | endif
ALEEvents  FileType
    *         call ale#events#FileTypeEvent(   str2nr(expand('')),   expand(''))
endwise  FileType
    lua       let b:endwise_addition = 'end' | let b:endwise_words = 'function,do,then' | let b:endwise_pattern = '^\s*\zs\%(\%(local\s\+\)\=function\)\>\%(.*\\)\@!\|\<\%(then\|do\)\ze\s*$' | let b:endwise_syngroups = 'luaFunction,luaStatement,luaCond'
    elixir    let b:endwise_addition = 'end' | let b:endwise_words = 'do,fn' | let b:endwise_pattern = '.*[^.:@$]\zs\<\%(do\(:\)\@!\|fn\)\>\ze\%(.*[^.:@$]\\)\@!' | let b:endwise_end_pattern = '\%\(fn.*->.*\)\@\%(.*[^.:@$]\\)\@!\|\:p')), ':p'), 1)
    git       call fugitive#MapCfile()
    gitcommit call fugitive#MapCfile('fugitive#MessageCfile()')
    git       if &foldtext ==# 'foldtext()' |    setlocal foldtext=fugitive#Foldtext() | endif
    gitcommit if &foldtext ==# 'foldtext()' |    setlocal foldtext=fugitive#Foldtext() | endif
    fugitive  call fugitive#MapCfile('fugitive#PorcelainCfile()')
    gitrebase let &l:include = '^\%(pick\|squash\|edit\|reword\|fixup\|drop\|[pserfd]\)\>' | if &l:includeexpr !~# 'Fugitive' |   let &l:includeexpr = 'v:fname =~# ''^\x\{4,\}$'' && len(FugitiveGitDir()) ? FugitiveFind(v:fname) : ' .     (len(&l:includeexpr) ? &l:includeexpr : 'v:fname') | endif | let b:undo_ftplugin = get(b:, 'undo_ftplugin', 'exe') . '|setl inex= inc='
rhubarb  FileType
    gitcommit call s:SetUpMessage(expand(':p'))
Network  FileWriteCmd
    ftp://*   exe "sil doau FileWritePre ".fnameescape(expand(""))|exe "'[,']".'Nwrite '.fnameescape(expand(""))|exe "sil doau FileWritePost ".fnameescape(expand(""))
    rcp://*   exe "sil doau FileWritePre ".fnameescape(expand(""))|exe "'[,']".'Nwrite '.fnameescape(expand(""))|exe "sil doau FileWritePost ".fnameescape(expand(""))
    scp://*   exe "sil doau FileWritePre ".fnameescape(expand(""))|exe "'[,']".'Nwrite '.fnameescape(expand(""))|exe "sil doau FileWritePost ".fnameescape(expand(""))
    http://*  exe "sil doau FileWritePre ".fnameescape(expand(""))|exe "'[,']".'Nwrite '.fnameescape(expand(""))|exe "sil doau FileWritePost ".fnameescape(expand(""))
    file://*  exe "sil doau FileWritePre ".fnameescape(expand(""))|exe "'[,']".'Nwrite '.fnameescape(expand(""))|exe "sil doau FileWritePost ".fnameescape(expand(""))
    dav://*   exe "sil doau FileWritePre ".fnameescape(expand(""))|exe "'[,']".'Nwrite '.fnameescape(expand(""))|exe "sil doau FileWritePost ".fnameescape(expand(""))
    davs://*  exe "sil doau FileWritePre ".fnameescape(expand(""))|exe "'[,']".'Nwrite '.fnameescape(expand(""))|exe "sil doau FileWritePost ".fnameescape(expand(""))
    rsync://* exe "sil doau FileWritePre ".fnameescape(expand(""))|exe "'[,']".'Nwrite '.fnameescape(expand(""))|exe "sil doau FileWritePost ".fnameescape(expand(""))
    sftp://*  exe "sil doau FileWritePre ".fnameescape(expand(""))|exe "'[,']".'Nwrite '.fnameescape(expand(""))|exe "sil doau FileWritePost ".fnameescape(expand(""))
tar  FileWriteCmd
    tarfile::*
              call tar#Write(expand(""))
    tarfile::*/*
              call tar#Write(expand(""))
zip  FileWriteCmd
    zipfile:* call zip#Write(expand(""))
    zipfile:*/*
              call zip#Write(expand(""))
fugitive  FileWriteCmd
    fugitive://*//[0-3]/*
              exe fugitive#FileWriteCmd()
gzip  FileWritePost
    *.gz      call gzip#write("gzip")
    *.bz2     call gzip#write("bzip2")
    *.Z       call gzip#write("compress -f")
    *.lzma    call gzip#write("lzma -z")
    *.xz      call gzip#write("xz -z")
    *.lz      call gzip#write("lzip")
    *.zst     call gzip#write("zstd --rm")
    *.br      call gzip#write("brotli --rm")
    *.lzo     call gzip#write("lzop -U")
eunuch  FileWritePost
    *         if exists('b:chmod_post') |   call s:Chmod(0, b:chmod_post, '') |   edit |   unlet b:chmod_post | endif
fugitive_status  FocusGained
    *         if get(g:, 'fugitive_focus_gained', !has('win32')) |   call fugitive#DidChange(0) | endif
fugitive_blame  GUIEnter
    *         call s:BlameRehighlight()
WIG  InsertEnter
    *         if !exists('b:old_wildignore') |   let b:old_wildignore = &wildignore |   set wildignore& | endif
Cool  InsertEnter
    *         call StopHL()
WIG  InsertLeave
    *         if exists('b:old_wildignore') |   let &wildignore = b:old_wildignore |   unlet b:old_wildignore | endif
ALEEvents  InsertLeave
    *         if ale#Var(str2nr(expand('')), 'lint_on_insert_leave') | call ale#Queue(0) | endif
              if exists('*ale#engine#Cleanup') | call ale#cursor#EchoCursorWarning() | endif
Cool  OptionSet
    hlsearch  call PlayItCool(v:option_old, v:option_new)
fireplace  QuickFixCmdPost
    make      if &efm =~# 'classpath' | call fireplace#massage_list() | endif
    cfile     if &efm =~# 'classpath' | call fireplace#massage_list() | endif
    cgetfile  if &efm =~# 'classpath' | call fireplace#massage_list() | endif
    lmake     if &efm =~# 'classpath' | call fireplace#massage_list(0) | endif
    lfile     if &efm =~# 'classpath' | call fireplace#massage_list(0) | endif
    lgetfile  if &efm =~# 'classpath' | call fireplace#massage_list(0) | endif
fugitive_status  QuickFixCmdPost
    make      call fugitive#DidChange(fugitive#EfmDir())
    lmake     call fugitive#DidChange(fugitive#EfmDir())
    [cl]file  call fugitive#DidChange(fugitive#EfmDir())
    [cl]getfile
              call fugitive#DidChange(fugitive#EfmDir())
ALECleanupGroup  QuitPre
    *         call ale#events#QuitEvent(str2nr(expand('')))
fugitive_status  ShellCmdPost
    *         call fugitive#DidChange(0)
fugitive_status  ShellFilterPost
    *         call fugitive#DidChange(0)
Network  SourceCmd
    ftp://*   exe 'Nsource '.fnameescape(expand(""))
    rcp://*   exe 'Nsource '.fnameescape(expand("
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant