Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue with variable not being defined #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sbdchd
Copy link

@sbdchd sbdchd commented Feb 13, 2017

Before:

Error detected while processing ~/.vim/plugged/vim-livedown/ftplugin/markdown.vim:
line    2:
E121: Undefined variable: g:livedown_autorun
E15: Invalid expression: g:livedown_autorun
Press ENTER or type command to continue

After:

No errors

Note: I have filetype detect in my config so that I can reload my
config without issue. However, this causes this plugin to not work
correctly since the filetype event is triggered before
plugin/livedown.vim has been loaded.

Before:

    Error detected while processing ~/.vim/plugged/vim-livedown/ftplugin/markdown.vim:
    line    2:
    E121: Undefined variable: g:livedown_autorun
    E15: Invalid expression: g:livedown_autorun
    Press ENTER or type command to continue

After:

    No errors

Note: I have `filetype detect` in my config so that I can reload my
config without issue. However, this causes this plugin to not work
correctly since the filetype event is triggered before
plugin/livedown.vim has been loaded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant