EthanBrown.SublimeText2.UtilPackages
- Sublime package featuring the best general utility, file manipulation,
navigation, sidebar enhancements, themes, color schemes, etc
- AdvancedNewFile, ConsoleExec, EncodingHelper, KeymapManager,
MoveTab, Navigation History, Open Recent Files, OpenSearchResult,
RecentActiveFiles, Search Anywhere, SideBarEnhancements,
Sublime Files, Soda Theme
- Also includes a custom keybinding package hosted on GitHub
- Merges in customized settings for User Preferences
- Fixed minor bug in JSON helpers when adding to a simple map
This commit is contained in:
@@ -127,7 +127,15 @@ function Merge-JsonSimpleMap
|
||||
$currentHash = $Destination.$Name
|
||||
$SimpleMap.PSObject.Properties |
|
||||
% {
|
||||
$currentHash.($_.Name) = $_.Value
|
||||
if (!$currentHash.($_.Name))
|
||||
{
|
||||
$currentHash |
|
||||
Add-Member -Name ($_.Name) -Value $_.Value -MemberType NoteProperty
|
||||
}
|
||||
else
|
||||
{
|
||||
$currentHash.($_.Name) = $_.Value
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user