Vim Tips Wiki
Advertisement

Use this page to discuss script 2736 Syntastic: automatic syntax checking

  • 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.

Shell checking[]

Note on Shell checking -- it doesn't handle the effects of aliases in a script.

alias sub=function
sub foobar {
  echo hi
}

I have aliases in my scripts like:

int=declare\ -i
array=declare\ -a
string=declare
alias hash=declare\ -A
alias intConst=declare\ -ir
alias intArray=declare\ -ia
alias intHash=declare\ -iA"
alias my=declare

Of those, 'sub' and 'int' get the most usage. Astarae (talk) 02:20, March 10, 2013 (UTC)

Comments[]

Advertisement