mirror of
https://github.com/joshdick/onedark.vim.git
synced 2025-11-08 11:03:49 -05:00
Fixes #220 Create a copy of color dictionary and apply changes to it instead of the original Ex: If extend_highlight is called on a Highlight Group with default purple foreground, don't overwrite values in the dictionary assigned to purple.fg, e.g., {'gui': '#C678DD', 'cterm': '170', 'cterm16': '5'}. Instead make a copy of the dictionary, apply changes to the copy, and assign the altered copy to the user-specified Highlight Group.