Thursday, October 28, 2010

Fwd: bashide



-------- Original Message --------
Subject: bashide
Date: Thu, 28 Oct 2010 10:42:03 +0800
From: aijieqiang <niejieqiang@gmail.com>
To: vim-subscribe@vim.org


is any one use bashide? i downloaded the plugin bashsupport.vim and installed it according the manual yesterday, but it didn't work correctly now. 
     the official site says i should add these lines to the .vimrc:
let g:BASH_AuthorName   = 'njq' let g:BASH_Email        = 'niejieqiang@gmail.com' let g:BASH_Company      = 'kakasoft' 
and then create a example.sh file ,   bash ide will insert the comment automatically .for example:
#!/bin/bash #=============================================================================== # #          FILE:  test.sh # #         USAGE:  ./test.sh # #   DESCRIPTION: # #       OPTIONS:  --- #  REQUIREMENTS:  --- #          BUGS:  --- #         NOTES:  --- #        AUTHOR:  Joe Brockmeier, jzb@zonker.net #       COMPANY:  Dissociated Press #       VERSION:  1.0 #       CREATED:  05/25/2007 10:31:01 PM MDT #      REVISION:  --- #===============================================================================

but it can't get the value of  my BASH_Authorname, BASH_Email and BASH_Company when i done all the operations. it inserts the content like this:

#!/bin/bash -
#===============================================================================
#
#          FILE:  test.sh
#
#         USAGE:  ./test.sh
#
#   DESCRIPTION: 
#
#       OPTIONS:  ---
#  REQUIREMENTS:  ---
#          BUGS:  ---
#         NOTES:  ---
#        AUTHOR: YOUR NAME (),                    
#       COMPANY:                                           
#       CREATED: 10/28/2010 10:33:26 AM CST
#      REVISION:  ---
#===============================================================================

set -o nounset                              # Treat unset variables as an error

as you see , the AUTHOR, COMPANY and  the MAIL doesn't display correctly . what should i do ?
thanks in advance, sorry for my english  :)




No comments:

Post a Comment