nim-lang / nim-mode

An emacs major mode for the Nim programming language
137 stars 46 forks source link

Preserve doc spaces in eldoc #224

Closed zedeus closed 5 years ago

zedeus commented 5 years ago

Newlines in the doc output are simply getting stripped, which results in docs shown in eldoc looking like this: Marks ``socket`` as accepting connections.``Backlog`` specifies the maximum length of thequeue of pending connections.Raises an OSError error upon failure.

With this change it looks like this: Marks ``socket`` as accepting connections. ``Backlog`` specifies the maximum length of the queue of pending connections. Raises an OSError error upon failure.