Skip to content

Typing past the line limit leads to wrapping in the middle of a word #136

@kovasap

Description

@kovasap

| denotes the edge of my vim terminal window. This problem only happens when going past the edge of my screen (upon which my test visually wraps with set wrap). This problem goes away when I use set nolinebreak.

When I put my cursor at the end of this function argument list:

(defn tile-from-str
  [row-idx col-idx [tile-letter bonus-resource-letter bonus-resource-quantity]] |
  code)

and type "testing", I get:

(defn tile-from-str
  [row-idx col-idx [tile-letter bonus-resource-letter bonus-resource-quantitying| test]]
  code)

parinfer seems to break my word right in the middle as I'm typing it.

This problem is only present when parinfer is on and doesn't seem to be effected when I set formatoptions=.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions