feat(colors): add more TOML default links

For some reason, `tomlFloat` was linked to `Number`. There is a `Float`
highlight group dedicated for that.

Additionally, the `tomlDate` group was linked to `Constant`. I don't
think that's necessarily a fitting group, since a date is a literal,
and while literals _are_ constants it does not seem fitting. I gave it
the `Special` link instead, since `Special` is supposed to be used
whenever there is an "other" type in a language.
This commit is contained in:
Iron-E 2020-12-31 17:22:40 -05:00
parent 495c76dfea
commit 2fb6dc1b2a
No known key found for this signature in database
GPG Key ID: 19B71B7B7B021D22
1 changed files with 2 additions and 0 deletions

View File

@ -613,6 +613,8 @@ local highlight_groups = {
--[[ 4.3.26. TOML ]] --[[ 4.3.26. TOML ]]
tomlComment = 'Comment', tomlComment = 'Comment',
tomlDate = 'Special',
tomlFloat = 'Float',
tomlKey = 'Label', tomlKey = 'Label',
tomlTable = 'Structure', tomlTable = 'Structure',