Wednesday, September 2, 2015

VIM: Re: Instaling Shellcheck and other syntax checking plug-ins in vim

Hi Nelo-Thara Wallus and thanks for the heads-up.

I am not a beginner in matters of shell scripting and I am already noticing
what you are warning against.

Is there any way I can temporarily disable a plugin, within a vim session ?

(FYI, I ended up installing it with `syntastic`.)

Cheers,
-cedric



On 02/09/15 19:18, Nelo-Thara Wallus wrote:
On 08-13/10:40, "Cedric Bhihe (毕生泰)" wrote:  
Hello - my first post in this list.    [...]    I am confused as to how to proceed for the install of _/shellcheck/_ and  other plug-ins in vim..  I need pointers and advice as to how I should go about it. So far I /"sort  of/" gathered that:  
  Use a plugin manager like vim-plug[1]. Those take care of everything for you,  you only need to have your vimrc available.    
  1) _/shellcheck/_ can be used in a terminal front-end of its own when  downloaded from https://github.com/koalaman/shellcheck.  If I understand correctly what that implies, beside the fact that it means  compiling with all necessary Haskell libraries (no thanks!), I would not  want that. Instead I want to keep using Gnome-terminal while using vim and  add-on modules and features.    2) it can be run in my editor. Quoting from  http://www.shellcheck.net/about.html :  /" ShellCheck can output gcc style error messages and checkstyle compatible  xml, which allows any editor to show in-lined error messages. It's also  supported directly by the vim plug-in //Syntastic  <https://github.com/scrooloose/syntastic>//in Vim//."/  
  Bit of advice - shellcheck is nice for the beginning, but once you wrote your  first few scripts it'll just annoy you with false-positive findings.    
[...]  
  Cheers,  Nelo    [1]: https://github.com/junegunn/vim-plug    --  Viktoriastrasse 22  76133 Karlsruhe  Nr.:    0721 / 96 55 63 95  Handy:  0178 / 53 17 067  /"\  ASCII Ribbon Campaign  \ /  - against HTML emails   X   - against proprietory attachments  / \  http://en.wikipedia.org/wiki/ASCII_Ribbon_Campaign    

No comments:

Post a Comment