From 51ed2f8a3ac33f6ec8979d0a8d05baf56d771305 Mon Sep 17 00:00:00 2001 From: Akianonymus Date: Wed, 14 Sep 2022 21:05:37 +0530 Subject: Seperate tailwind stuff | Fix for neovim 0.7 Seperate the lines parsing logic in buffer_utils, upcoming multi threading parsing and processing Update docs --- doc/colorizer.txt | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'doc/colorizer.txt') diff --git a/doc/colorizer.txt b/doc/colorizer.txt index 2cc2d6e..6171fbf 100644 --- a/doc/colorizer.txt +++ b/doc/colorizer.txt @@ -576,6 +576,45 @@ sass_update_variables({buf}, {line_start}, {line_end}, {lines}, {color_parser}, +============================================================================== +TAILWIND *colorizer.tailwind-introduction* + +Helper functions to parse tailwind color variables + + +============================================================================== +LUA API *colorizer.tailwind-lua-api* + +Functions: ~ + |tailwind_cleanup| - Cleanup tailwind variables and autocmd + + |tailwind_setup_lsp_colors| - highlight buffer using values returned by + tailwindcss + To see these table information, see |colorizer.buffer_utils| + + +tailwind_cleanup({buf}) *colorizer.tailwind.tailwind_cleanup* + Cleanup tailwind variables and autocmd + + Parameters: ~ + {buf} - number + + + + + *colorizer.tailwind.tailwind_setup_lsp_colors* +tailwind_setup_lsp_colors({buf}, {options}, {options_local}, {add_highlight}) + highlight buffer using values returned by tailwindcss + To see these table information, see |colorizer.buffer_utils| + + Parameters: ~ + {buf} - number + {options} - table + {options_local} - table + {add_highlight} - function + + + ============================================================================== TRIE *colorizer.trie-introduction* -- cgit v1.2.3-70-g09d2