Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Syntastic gives you error checking for just about every language imaginable right from within Vim! It shows you the offending line next to the line numbers.
- Loading branch information
144f979
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(<-- prev step) ... (next step -->)
Not gonna lie, this plugin is pretty sick XD It also works basically out of the box, and in the background. For more information:
144f979
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you maybe include a few screenshots as well to indicate the progress of your terminal as the packages start getting integrated?
144f979
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I can probably do that. It'll probably be the weekend before I have enough time to do it though.
144f979
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sayedasadali Here's a link with a step-by-step list of screenshots. Enjoy!
144f979
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey jez! thanks..
quick question: how much time does it take for vim to load with these plugins? NERDTree can slow it down. I am trying to gauge how much slower it may become or if there is a workaround.
144f979
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On my MacBook Air it takes 0.1s to load vim -u NONE, and 0.5s to load vim with plugins.
The biggest performance related hit I take with these plugins comes from syntastic and vim-gitgutter, each of which have to run an external command every time I save. I was in the habit of saving very frequently (almost every time I made a change), and I started noticing that my cursor would start to lag somewhat after saving.
144f979
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lcd047 makes some great points in vim-syntastic/syntastic#1367 on how to get more out of syntastic, and how the configuration described here is insufficient.
144f979
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm interesting. I've never run into those specific issues; Syntastic has always worked for me with these preferences. Thanks for the reference though!
144f979
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to add
"scriptencoding utf-8"
since it contains utf-8 characters.Below is the recommended setting by Syntastic itself. Using below, one would know what the actual errors are, what's the line and column number etc.
144f979
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It only works if it's C, doesn't work for PHP or others. May I ask for solution?