fix: ignore zls settings panel contents when project is default
This commit is contained in:
parent
13266d112c
commit
b497f04e40
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue