Wikia

Vim Tips Wiki

Changes: Script:397

Edit

Back to page

(Change <tt> to <code>, perhaps also minor tweak.)
(Comments)
 
(3 intermediate revisions by one user not shown)
Line 4: Line 4:
 
It would be very awesome for a ToggleShowFunc command, so f1 could show/hide it
 
It would be very awesome for a ToggleShowFunc command, so f1 could show/hide it
 
--[[User:Halkeye|Halkeye]] 18:06, July 15, 2010 (UTC)
 
--[[User:Halkeye|Halkeye]] 18:06, July 15, 2010 (UTC)
  +
  +
Uploaded update (1.5.9) that includes this feature. Don't know why I didn't think of it originally. Thanks for the idea!
  +
--[[User:dvehrs|dvehrs]] 18:15, February 21, 2013 (UTC)
   
 
----
 
----
Line 26: Line 29:
 
</pre>
 
</pre>
 
--[[User:Dtyall|Dtyall]] 05:19, February 17, 2011 (UTC)
 
--[[User:Dtyall|Dtyall]] 05:19, February 17, 2011 (UTC)
  +
  +
Already had a similar fix in the version I was using but it appears I may not have uploaded it. Released a new version (1.5.9) that I can confirm does not have these issues. Thanks for the report!
  +
--[[User:dvehrs|dvehrs]] 18:15, February 21, 2013 (UTC)
  +
  +
The script fails if the user has a CTAGS environment variable with certain things set that the script is not expecting. I have "--append" in my CTAGS, for instance. I'm trying to change the binary to the equivalent of "env CTAGS= ctags", but it's failing at the executable test. I'm working on it.
  +
--[[Special:Contributions/198.206.244.4|198.206.244.4]] 15:59, October 8, 2014 (UTC)

Latest revision as of 15:59, October 8, 2014

Use this page to discuss script 397 ShowFunc

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

CommentsEdit

It would be very awesome for a ToggleShowFunc command, so f1 could show/hide it --Halkeye 18:06, July 15, 2010 (UTC)

Uploaded update (1.5.9) that includes this feature. Don't know why I didn't think of it originally. Thanks for the idea! --dvehrs 18:15, February 21, 2013 (UTC)


On line 295 the definition of function ShowFuncFoldText missed the leading "s:".

Original:

 function! ShowFuncFoldText()

Should be:

 function! s:ShowFuncFoldText()

It will generate error when no ctags binary is found:

 ShowFunc exting.  (Cleaning up functions)
 Error detected while processing /Users/tyuan/.vim/plugin/ShowFunc.vim:
 line  450:
 E130: Unknown function: s:ShowFuncFoldText

--Dtyall 05:19, February 17, 2011 (UTC)

Already had a similar fix in the version I was using but it appears I may not have uploaded it. Released a new version (1.5.9) that I can confirm does not have these issues. Thanks for the report! --dvehrs 18:15, February 21, 2013 (UTC)

The script fails if the user has a CTAGS environment variable with certain things set that the script is not expecting. I have "--append" in my CTAGS, for instance. I'm trying to change the binary to the equivalent of "env CTAGS= ctags", but it's failing at the executable test. I'm working on it. --198.206.244.4 15:59, October 8, 2014 (UTC)

Around Wikia's network

Random Wiki