pwntester / octo.nvim

Edit and review GitHub issues and pull requests from the comfort of your favorite editor
MIT License
2.34k stars 127 forks source link

Error about FoldToggle in the command line #185

Closed lalitmee closed 3 years ago

lalitmee commented 3 years ago

Issue Description

Type: bug report

Describe what happened (or what feature you want)

When I am opening the Octo pr list and as soon as content appears in the preview, it shows an error in the command line

image

Describe what you expected to happen

I want to know why that error is coming and don't want it to occur.

How to reproduce it (as minimally and precisely as possible)

  1. run Octo pr list
  2. wait for the preview of the PR to come
  3. you will see this error

Tell us your environment

Features: +acl +iconv +tui See ":help feature-compile"

system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/local/share/nvim"

Run :checkhealth for more info



### Anything else we need to know?

Nothing
pwntester commented 3 years ago

Hi, thanks for the report

This seems to be caused by a plugin. Which plugin is bringing the FoldToggle command? is it vim-markdown-folding? do you have any autocommands running it on markdown buffers?

lalitmee commented 3 years ago

@pwntester, oh yeah. Actually this FoldToggle command I was declaring in the ftplugin for markdown. Got it.