bladnman / auto-align

Visual Studio Code extension to align code blocks
3 stars 3 forks source link

Doesn't quite work with PowerShell hastable initialization #12

Open kovesp opened 8 months ago

kovesp commented 8 months ago

From this

[Hashtable]$FieldMaps = @{
   English = @{
      UUID    = "UUID"
      Authors = "Author"
      Title = "Title"
      Series = "Series"
      series_index = "SeriesIndex"
      "*pages" = "Pages"
      "*formats" = "Formats"
      timestamp = "Date"
      "*reading_list" = "List"
      "comments" = "Description"
   }
   Magyar  = @{

   }
}

produces this

[Hashtable]$FieldMaps = @{
   English = @{
      UUID            = "UUID"
      Authors         = "Author"
      Title           = "Title"
      Series          = "Series"
      series_index    = "SeriesIndex"
      "*pages" = "Pages"
      "*formats" = "Formats"
      timestamp       = "Date"
      "*reading_list" = "List"
      "comments"      = "Description"
   }
   Magyar  = @{

   }
}