Skip to content

Bug when typing in Markdown after using ESS with LSP #34

@shirdekel

Description

@shirdekel

When I write in an rmd file everything is normal when editing the markdown parts. After I enter an ESS code chunk, subsequent typing in markdown leads to weird things, including jumping to the end of the buffer and typing in reverse. Editing is fine within the code chunk. The issue persists even after deleting the code chunk but "resets" after I close and reopen the buffer. Also the bug doesn't happen when I don't load the lsp layer in spacemacs so I assume it has something to do with that. I usually have (ess :variables ess-r-backend 'lsp) in the layer config but the issue happens even when I just load ess. Everything is fine in a normal ESS buffer. See below for a demonstration:

poly-r-bug.mov

Setup

  • M1 Pro Macbook
  • macOS 12.0.1
  • emacs-plus@28

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions