FS#53355 - [vim-airline] raise error on window change event
Attached to Project:
Community Packages
Opened by Lucjan B (lucck) - Friday, 17 March 2017, 22:53 GMT
Last edited by Alexander F. Rødseth (xyproto) - Tuesday, 21 March 2017, 14:42 GMT
Opened by Lucjan B (lucck) - Friday, 17 March 2017, 22:53 GMT
Last edited by Alexander F. Rødseth (xyproto) - Tuesday, 21 March 2017, 14:42 GMT
|
Details
Description:
vim-airline doesn't work after package upgrade. On window change event vim-airline report undefined variable error. Additional info: * package version: vim-airline 0.8-3 vim-airline-themes r1230.793ce66-1 * Log error included in the log.txt file Steps to reproduce: start vim |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Tuesday, 21 March 2017, 14:42 GMT
Reason for closing: Fixed
Tuesday, 21 March 2017, 14:42 GMT
Reason for closing: Fixed
Description:
By default, vim-airline plugin uses 'dark' theme (/usr/share/vim/vimfiles/autoload/airline/themes/dark.vim).
But PKGBUILD removes it:
...
30 # This one conflicts with vim-airline-themes
31 rm "$pkgdir/usr/share/vim/vimfiles/autoload/airline/themes/dark.vim"
...
More description:
'dark.vim' was located in both git-repos 'vim-airline' and 'vim-airline-theme'. To prevent conflict, we deleted 'dark.vim' from the first package and used the file from the second package.
Then 'dark.vim' was deleted from 'vim-airline-theme' at this commit https://github.com/vim-airline/vim-airline-themes/commit/332678ba862e0fccf48ef8b7fdb836dd26f2a7f5.
So after installing both vim-airline and vim-airline-theme, the file is missing.
Solution:
Delete line 31 from PKGBUILD file:
31 rm "$pkgdir/usr/share/vim/vimfiles/autoload/airline/themes/dark.vim"