mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
fix-textmate-RIDER-106884-DEXP-783167
GitOrigin-RevId: cc8d56ac097fea0be4e6ee56a30d4ed464efa451
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ce2933b6c7
commit
d36ba38c7c
@@ -22,6 +22,13 @@ class TextMateUserBundlesSettings : SerializablePersistentStateComponent<TextMat
|
||||
}
|
||||
}
|
||||
|
||||
override fun loadState(state: State) {
|
||||
// It is eccentric, but with a bad textmate.xml, we can get null there
|
||||
// RIDER-106884 Godot project automatically closes after attempting to open it
|
||||
// not sure, why tooling says that value is never null
|
||||
super.loadState(State(state.bundles.filter { it.value != null }))
|
||||
}
|
||||
|
||||
fun addBundle(path: String, name: String) {
|
||||
val normalizedPath = FileUtil.toSystemIndependentName(path)
|
||||
updateState { state ->
|
||||
|
||||
Reference in New Issue
Block a user