Hi, I’m trying to convert Neovim syntax highlighting (with treesitter support) colors to bat (rust written command to replace cat
) custom theme.
bat is using the TextMate theme system for highlighting colors, and TextMate theme (e.g. the tmTheme) is also used by sublime text as a legacy theme system.
I’m trying to map a Neovim’s highlight group (for example ‘Constant’) to a tmTheme’s global/scope (for example ‘constant’, ‘variable.other.constant’, ‘entity.name.constant’, ‘support.constant’).
I’m trying to do this work with below documents:
- https://www.sublimetext.com/docs/color_schemes.html#global-settings
- https://www.sublimetext.com/docs/scope_naming.html#minimal-scope-coverage
But still, I’m often confused about the meaning of a settings.
Please help me with detailed explanation of each settings definition and examples.