Fix minor typo in powerline.vim
This commit is contained in:
parent
154d1aeac1
commit
6777fd41d4
|
@ -22,7 +22,7 @@ let s:import_cmd = 'from powerline.vim import VimPowerline'
|
|||
try
|
||||
exec s:powerline_pycmd s:import_cmd
|
||||
catch
|
||||
" An error occured while importing the module, it could be installed
|
||||
" An error occurred while importing the module, it could be installed
|
||||
" outside of Python's module search paths. Update sys.path and try again.
|
||||
exec s:powerline_pycmd 'import sys, vim'
|
||||
exec s:powerline_pycmd 'sys.path.append(vim.eval(''expand("<sfile>:h:h:h:h:h")''))'
|
||||
|
@ -31,7 +31,7 @@ catch
|
|||
let s:launched = 1
|
||||
finally
|
||||
if !exists('s:launched')
|
||||
call s:CriticalError('An error occured while importing the Powerline package.
|
||||
call s:CriticalError('An error occurred while importing the Powerline package.
|
||||
\ This could be caused by an invalid sys.path setting, or by an incompatible
|
||||
\ Python version (Powerline requires Python 2.6+ or 3.2+ to work). Please consult
|
||||
\ the troubleshooting section in the documentation for possible solutions.')
|
||||
|
|
Loading…
Reference in New Issue