Sublime Forum

Please help me with detailed explanation on legacy tmTheme?

#1

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:

But still, I’m often confused about the meaning of a settings.

Please help me with detailed explanation of each settings definition and examples.

0 Likes