WolfgangMehner / vim-plugins

Vim plug-ins which offer support for various programming languages.
415 stars 96 forks source link

Not working here #50

Open OrionRandD opened 5 years ago

OrionRandD commented 5 years ago

The plugin is installed in gvim and vim, but it does not work when I type the commands inside a $FILE.sh. Like so, \se \sei (etc...)

It is only workinng when I click on them in the Bash menu. :(

WolfgangMehner commented 5 years ago

Could you run this on the Vim command-line and send me the output:

:call Bash_Settings(2)

Does the map \rs work?

OrionRandD commented 5 years ago

On Sun, Sep 08, 2019 at 03:28:42AM -0700, Wolfgang Mehner wrote:

Could you run this on the Vim command-line and send me the output: :call Bash_Settings(2)

This is the output: I have only change my name "to my name" and email address to "myeemail@here.com"


Bash-Support settings

               author :  "my name"
            authorref :  ""
                email :  "myeemail@here.com"
         organization :  "Sofia"
     copyright holder :  "Copyright (c) 2019, my name"
              license :  "GNU General Public License"
              project :  ""
       template style :  "default"

  plugin installation :  local in vim on UN*X
        using toolbox :  BashDB (0.5, disabled)
                         (toolbox version 1.3)

       template files :  /home/user/.vim/bundle/bash-support/bash-support/templates/Templates (local)
                         -missing- (personal, not used)
                         /home/user/.vim/templates/bash.templates (custom)
                         (template engine version 1.1alpha, API 1.0, interface 1.0)
   code snippets dir. :  /home/user/.vim/bundle/bash-support/bash-support/codesnippets/
   dictionary file(s) :  /home/user/.vim/bundle/bash-support/bash-support/wordlists/bash-keywords.list

            mapleader :  ""
 load menus / delayed :  "yes" / "yes"
   insert file header :  "yes"

      Bash executable :  "/bin/bash"

Bash cmd. line arguments : "" glb. syntax check options : "" buf. syntax check options : ""

current output method :  vim-io
     xterm executable :  xterm
        xterm options :  -fa courier -fs 12 -geometry 80x24

Bash-Support, Version 5.0alpha / Wolfgang Mehner / wolfgang-mehner@web.de

Does the map \rs work?

Nope. It shows these:

 \rs REVISIOONS [B]
     REQUIREMENTS [B]
     restricted_shell [D]

As TAB completion options

:(

— You are receiving this because you authored the thread. Reply to this email directly, [1]view it on GitHub, or [2]mute the thread.

References

  1. https://github.com/WolfgangMehner/vim-plugins/issues/50?email_source=notifications&email_token=AKLPRKNNQ3GX75TJ7MDC3QTQITHVVA5CNFSM4IUQ377KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6FMWYQ#issuecomment-529189730
  2. https://github.com/notifications/unsubscribe-auth/AKLPRKOGZ2OB2WKN4Y2NYPDQITHVVANCNFSM4IUQ377A
WolfgangMehner commented 5 years ago

OK. We might need to go back and forth a couple of times, for me to go through all the things that might go wrong.

The plug-in, including the templates seem to load correctly. The maps are created individually for each buffer with filetype sh, but only if they do not already exist.

What is the output of:

:set filetype?

Nope. It shows these: [...] As TAB completion options

Weird, this seems to be output from another plug-in. What is the output of:

:map \rs
:map \se