Skip to content

Stan errors contains terminal color codes #3089

Closed
@andys8

Description

@andys8

Is your enhancement request related to a problem? Please describe.

Severity and Category use terminal color codes that aren't recognized in Vim/CoC. I assume that's also the case in other editors.

image

Describe the solution you'd like

  • Either allowing stan itself to configure/detect non interactive mode or skip coloring
  • Or filter out color codes in the stan hls plugin

Additional context

Currently using a89ba412293327ec838c00d899ea9c6013c46aa3.

haskell-language-server version: 1.7.0.0 (GHC: 9.2.4) (PATH: /home/andreas/.ghcup/bin/haskell-language-server-wrapper-1.7.0.1)
Tool versions found on the $PATH
cabal:          3.8.1.0
stack:          2.7.5
ghc:            9.2.4

In case the local stan installation is relevant:

Stan v0.0.0.0
 ➤ Git revision: 4fcf2e15d067f652c753272202fb33ef4200ccad
 ➤ Commit date:  Thu Jun 25 18:40:45 2020 +0100

Pinging @uhbif19

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions