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

switching to octo buffer result in unwanted message in echo area #190

Closed kkharji closed 3 years ago

kkharji commented 3 years ago

Issue Description

Type: bug report

Describe what happened (or what feature you want)

when I switch to back to octo buffer I see the following Screen Shot 2021-08-12 at 8 43 34 PM

not sure why is this happening as it never happen to me before

Describe what you expected to happen

no echo message

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

  1. create new or open issue
  2. switch off it
  3. switch back (also when switch to telescope picker and back)

Tell us your environment

neovim nightly

I'm going to debug more

kkharji commented 3 years ago

when I commented out my remap of L to $, now it shows Screen Shot 2021-08-12 at 8 49 41 PM

kkharji commented 3 years ago

This seems to happen on octo buffer enter

kkharji commented 3 years ago

I uncommented everything and found that vim.cmd [[setlocal filetype=octo]] causing this. It must a filetype autocmd somewhere

kkharji commented 3 years ago

FOUND IT. It was my markdown filetype, I had nmap L in it without rhs.