Wednesday, September 2, 2015

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

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

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment