Skip to content

haya14busa/vim-stacktrace

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
.ci
 
 
 
 
 
 
doc
 
 
 
 
 
 
 
 
 
 
 
 
 
 

vim-stacktrace - Stacktrace of Vim script

Travis Build Status Coverage Status Go Report Card LICENSE GoDoc

vim-stacktrace.logo.png (658Γ—433)

Illust credit: いらすとや / tenntenn/gopher-stickers

vim-stacktrace provides a way to get a callstack or build stacktrace by error information (e.g. v:throwpoint, error message). You can create quickfix list or location list from the result.

vim-stacktrace helps you to debug Vim script πŸ› and to report a helpful error report to issue tracker of Vim plugins πŸ’•

πŸ” πŸ› Demo :CStacktraceFromhist

:CStacktraceFromhist sets selected error stacktrace to quickfix list from message history.

stacktracefromhist.gif (1287Γ—800)

🐾 Demo stacktrace#callstack()

stacktrace#callstack() returns current callstack.

anim.gif (1195Γ—823)

Requirements

  • Vim 8.0 or above
  • "go" command in $PATH

Installation

dein.vim / vim-plug

call dein#add('haya14busa/vim-stacktrace', {'build': 'make'})
Plug 'haya14busa/vim-stacktrace', { 'do': 'make' }

Proof of Concept: Writing Vim plugin in Go lang for Vim 8.0

vim-stacktrace demonstrates a feasibility to write Vim plugin in Go lang for Vim 8.0.

Libraries which helps me to write vim-stacktrace in Go lang.

🐦 Author

haya14busa (https://github.com/haya14busa)

About

πŸ” πŸ› 🐾 Stacktrace of Vim script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published