fix: ignore zls settings panel contents when project is default

This commit is contained in:
FalsePattern 2025-03-26 23:33:15 +01:00
parent 13266d112c
commit b497f04e40
Signed by: falsepattern
GPG key ID: E930CDEC50C50E23
2 changed files with 6 additions and 1 deletions

View file

@ -17,6 +17,11 @@ Changelog structure reference:
## [Unreleased] ## [Unreleased]
### Fixed
- Project
- New project creation creates a blank ZLS config
## [23.1.0] ## [23.1.0]
### Added ### Added

View file

@ -225,7 +225,7 @@ class ZLSSettingsPanel(private val project: Project) : ZigProjectConfigurationPr
} }
override var data override var data
get() = ZLSSettings( get() = if (project.isDefault) ZLSSettings() else ZLSSettings(
zlsPath.text, zlsPath.text,
zlsConfigPath.text, zlsConfigPath.text,
inlayHints.isSelected, inlayHints.isSelected,