Skip to content

Fixed issue with variable not being defined#26

Open
sbdchd wants to merge 1 commit intoshime:masterfrom
sbdchd:master
Open

Fixed issue with variable not being defined#26
sbdchd wants to merge 1 commit intoshime:masterfrom
sbdchd:master

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.

1 participant