Fix minor typo in powerline.vim

This commit is contained in:
Kim Silkebækken 2013-03-08 18:03:57 +01:00
parent 154d1aeac1
commit 6777fd41d4
1 changed files with 2 additions and 2 deletions

View File

@ -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.')