Module texcat.themes.tmtheme
a class to wrap textmate theme
Info:
- Copyright: 2025
Functions
| load_extensions_dir (extensions_dir) | load extensions directories |
Class TMTheme
| M.TMTheme:new (tmtheme) | |
| M.TMTheme.get_color_map () | convert theme information to color map |
| M.TMTheme:list () | list all themes |
| M.TMTheme:list_colors () | list all colors |
| M.TMTheme.get_full_color_map () | get full color map |
Functions
- load_extensions_dir (extensions_dir)
-
load extensions directories
Parameters:
- extensions_dir string[]
Class TMTheme
- M.TMTheme:new (tmtheme)
-
Parameters:
- tmtheme table?
Returns:
-
table theme
- M.TMTheme.get_color_map ()
-
convert theme information to color map
Returns:
-
colormap colormap
- M.TMTheme:list ()
-
list all themes
Returns:
-
string information
- M.TMTheme:list_colors ()
-
list all colors
Returns:
-
string information
- M.TMTheme.get_full_color_map ()
-
get full color map
Returns:
-
colormap colormap