tyru / current-func-info.vim

Get current function name
http://www.vim.org/scripts/script.php?script_id=3197
63 stars 14 forks source link

JavaScript #18

Closed davidosomething closed 8 years ago

davidosomething commented 8 years ago

Tested against this file I use on vim-jsdoc; https://gist.github.com/davidosomething/d5522decdc324ea6bcf7

tyru commented 8 years ago

Hmm, please give me some examples to test this PR? (Sorry, you already specified this: https://gist.github.com/davidosomething/d5522decdc324ea6bcf7) Because I don't know well about ES6.

davidosomething commented 8 years ago

ok all comments up til now are addressed

changelog

tyru commented 8 years ago

Thanks! :) g:cfi_javascript_show_assignment is also quite nice.

Okay, it seems the following function is wrongly detected yet. I'll fix it.

  setnotasetter(x) {

  }
tyru commented 8 years ago

Fixed. Thanks for PR! :)