Syntastic: make location-list window height configurable

Created on 20 Jan 2012  路  2Comments  路  Source: vim-syntastic/syntastic

Default height for location-list window is 10 lines, which is too much - I prefer 3, and even syntastic/_assets/screenshot_1.png have 5 lines.

Required change is trivial - just add user-configurable param for :lopen at syntastic.vim:336.

Currently one may use this workaround:

" set location-list window height to 3 lines
autocmd VimEnter * autocmd BufWritePost *
  \ if exists('b:syntastic_loclist')&&!empty(b:syntastic_loclist)|wincmd p|3 wincmd _|wincmd p|endif
core

Most helpful comment

Done - see the commit mentioned above.

All 2 comments

Done - see the commit mentioned above.

Thanks superhelful.. the default size may be too large. Perhaps the default height should be set to 5

Was this page helpful?
0 / 5 - 0 ratings

Related issues

duckpuppy picture duckpuppy  路  8Comments

ErikBjare picture ErikBjare  路  3Comments

rafee picture rafee  路  5Comments

dunatotatos picture dunatotatos  路  6Comments

olalonde picture olalonde  路  3Comments