maximbaz / lightline-ale

ALE indicator for the lightline vim plugin
ISC License
248 stars 14 forks source link

Unknown function: lightline#update #7

Closed arnsa closed 6 years ago

arnsa commented 6 years ago

Hello,

I've installed lightline-ale package with Plug and when I launch vim or ALE linter runs, I keep on getting this error (it shows up and disappears after 1-2 seconds):

Error detected while processing User Auto commands for "ALELint": E117: unknown function: lightline#update Error detected while processing function 98_VimCloseCallback: line 11: E171: missing endif:

Any ideas on how to fix it? Thanks!

maximbaz commented 6 years ago

Hi, lightline#update is the main function of lightline.vim plugin, do you actually have it installed? 🙂

This plugin is just a connector between ALE and lightline.vim, you have to install both.

arnsa commented 6 years ago

@maximbaz oh, haven't even thought about installing lightline plugin! Newbie here... Thank you for such a quick response, that fixed the problem!

maximbaz commented 6 years ago

Nothing to worry, I added this information to the README so that others are not confused with the same problem 👍