-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Location List height grows when switching to different panes #1489
Comments
There is no code in syntastic to resize windows. There is exactly one place in the code where a window height is referenced, and that's the line that opens the error window: execute 'lopen ' . syntastic#util#var('loc_list_height') If you're seeing a window changing size this is either the doing of some other plugin, or you have stacked so many windows atop each other that On a side note: if you want to disable checks for let g:syntastic_html_checkers = [] |
Ok. Thanks for checking. |
@gblock0 did you ever find a solution to this? |
@expipiplus1 No :( I just don't show the location list by default now |
Does the problem go away if you disable all other plugins? If it does, you can try disabling plugins in turn (something aking to binary search might help here), until you find the culprit. If it doesn't, the problem is likely to be related to a setting in your vimrc. Here again you might try to comment things out in turn (and some kind of binary search might help), but finding the problem is likely to be more complicated. |
@lcd047 As far as I can tell, the culprit is I've been tinkering with something like this, but my vimscript-fu is very poor. Note, this doesn't work because it enters a loop of always calling
|
Syntastic doesn't set |
oh sorry, that was something from my vimrc |
This seems to be a common bug: mileszs/ack.vim#150 vim-syntastic/syntastic#1489 For me, the issue occurs when I have NERDTree open; each time I close the preview window, the qf/loc window grows to fill the space that was previously filled by the preview window. This will continue to occur on each preview window close, until the qf/loc window takes up the entire screen. The fix introduced by this patch is to force the qf/loc window back to its original size each time the preview window closed. This fix is a bit hacky, but it seems to work well.
This seems to be a common bug: mileszs/ack.vim#150 vim-syntastic/syntastic#1489 For me, the issue occurs when I have NERDTree open; each time I close the preview window, the qf/loc window grows to fill the space that was previously filled by the preview window. This will continue to occur on each preview window close, until the qf/loc window takes up the entire screen. The fix introduced by this patch is to force the qf/loc window back to its original size each time the preview window closed. This fix is a bit hacky, but it seems to work well.
This seems to be a common bug: mileszs/ack.vim#150 vim-syntastic/syntastic#1489 For me, the issue occurs when I have NERDTree open; each time I close the preview window, the qf/loc window grows to fill the space that was previously filled by the preview window. This will continue to occur on each preview window close, until the qf/loc window takes up the entire screen. The fix introduced by this patch is to force the qf/loc window back to its original size each time the preview window closed. This fix is a bit hacky, but it seems to work well.
This seems to be a common bug: mileszs/ack.vim#150 vim-syntastic/syntastic#1489 For me, the issue occurs when I have NERDTree open; each time I close the preview window, the qf/loc window grows to fill the space that was previously filled by the preview window. This will continue to occur on each preview window close, until the qf/loc window takes up the entire screen. The fix introduced by this patch is to force the qf/loc window back to its original size each time the preview window closed. This fix is a bit hacky, but it seems to work well.
When I move back and forth between two or more panes (some with errors detected by Syntastic and some without any) the top Location List height grows to become almost the full height of the window.
I've looked online and haven't found any way to resolve this.
Here are my Syntastic settings:
VIM Version:
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jun 16 2015 10:16:41)
MacOS X (unix) version
Included patches: 1-712
Compiled by Homebrew
Huge version with MacVim GUI.
Syntastic Version:
Syntastic version: 3.6.0-128 (Vim 704, Darwin)
Info for filetype: javascript
Global mode: active
Filetype javascript is active
The current file will be checked automatically
syntastic: error: checker output:
zsh:1: command not found: jsxhint
syntastic: error: checker javascript/jsxhint: can't parse version string (abnormal termination?)
Available checkers: jscs jshint
Currently enabled checkers: jshint jscs
I'm not sure why Syntastic is looking for jsxhint when I haven't specified it in any of my files. Would this error cause the location list height to grow?
The text was updated successfully, but these errors were encountered: