chore: zls version visualizer get rid of trailing newline

This commit is contained in:
FalsePattern 2025-03-15 16:41:06 +01:00
parent 7c0fb4412d
commit 7c14ca2944
Signed by: falsepattern
GPG key ID: E930CDEC50C50E23

View file

@ -339,7 +339,7 @@ class ZLSSettingsPanel(private val project: Project) : ZigProjectConfigurationPr
} }
return return
} }
val version = result.stdout val version = result.stdout.trim()
withEDTContext(ModalityState.any()) { withEDTContext(ModalityState.any()) {
zlsVersion.text = version zlsVersion.text = version
zlsVersion.foreground = JBColor.foreground() zlsVersion.foreground = JBColor.foreground()