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

plugin does not seem to work on neovim #16

Closed
assaf758 opened this issue Nov 1, 2016 · 6 comments
Closed

plugin does not seem to work on neovim #16

assaf758 opened this issue Nov 1, 2016 · 6 comments
Labels

Comments

@assaf758
Copy link

assaf758 commented Nov 1, 2016

after successful install of plugin, command :GenTocGFM does not exist

@mzlogin
Copy link
Owner

mzlogin commented Nov 1, 2016

I don't use neovim, so I don't know if this plugin can works fine in it.

Can you feedback me the following commands' output?

  1. :set filetype

    vim-markdown-toc only works in Markdown files.

  2. :echo g:loaded_MarkdownTocPlugin

    To check if vim-markdown-toc loaded successfully.

@mzlogin
Copy link
Owner

mzlogin commented Nov 1, 2016

I install a neovim in my Windows 10 just now, it seems vim-markdown-toc can works fine in it.

neovim

@assaf758
Copy link
Author

assaf758 commented Nov 1, 2016

in my case (running ubuntu) I'm not getting anything for this
:echo g:loaded_MarkdownTocPlugin

@mzlogin
Copy link
Owner

mzlogin commented Nov 1, 2016

So this plugin does not loaded.

What you get from :set filetype?

If the output is markdown, then you should fix the plugin installation.

And if the output is not markdown, try :set filetype=markdown and then run :GenTocGFM again, if it works, the plugin is installed successfully, but the filetype does not set correct. Otherwise, check the plugin installation.

@assaf758
Copy link
Author

assaf758 commented Nov 1, 2016

not sure what I did, but it works now.

@assaf758 assaf758 closed this as completed Nov 1, 2016
@mzlogin
Copy link
Owner

mzlogin commented Nov 1, 2016

OK, glad to hear that whatever.

@mzlogin mzlogin added the invalid label Nov 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants