From 9dd7ecde55b06b5114e1fa67c522433e7e59db8b Mon Sep 17 00:00:00 2001 From: Akianonymus Date: Wed, 28 Sep 2022 11:30:26 +0530 Subject: Generate missing docs for utils.lua --- doc/modules/colorizer.utils.html | 326 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 326 insertions(+) create mode 100644 doc/modules/colorizer.utils.html (limited to 'doc/modules/colorizer.utils.html') diff --git a/doc/modules/colorizer.utils.html b/doc/modules/colorizer.utils.html new file mode 100644 index 0000000..a787177 --- /dev/null +++ b/doc/modules/colorizer.utils.html @@ -0,0 +1,326 @@ + + + + + colorizer Docs + + + + +
+ +
+ +
+
+
+ + +
+ + + + + + +
+ +

Module colorizer.utils

+

Helper utils

+

+ +

+ + +

Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
byte_is_alphanumeric (byte)Obvious.
byte_is_hex (byte)Obvious.
byte_is_valid_colorchar (byte)Valid colorchars are alphanumeric and - ( tailwind colors )
get_last_modified (path)Get last modified time of a file
merge (...)Merge two tables.
parse_hex (byte)Obvious.
percent_or_hex (v)Obvious.
watch_file (path, callback, ...)Watch a file for changes and execute callback
+ +
+
+ + +

Functions

+ +
+
+ + byte_is_alphanumeric (byte) +
+
+ Obvious. + + +

Parameters:

+
    +
  • byte + number +
  • +
+ +

Returns:

+
    + + boolean +
+ + + + +
+
+ + byte_is_hex (byte) +
+
+ Obvious. + + +

Parameters:

+
    +
  • byte + number +
  • +
+ +

Returns:

+
    + + boolean +
+ + + + +
+
+ + byte_is_valid_colorchar (byte) +
+
+ Valid colorchars are alphanumeric and - ( tailwind colors ) + + +

Parameters:

+
    +
  • byte + number +
  • +
+ +

Returns:

+
    + + boolean +
+ + + + +
+
+ + get_last_modified (path) +
+
+ Get last modified time of a file + + +

Parameters:

+
    +
  • path + string: file path +
  • +
+ +

Returns:

+
    + + number|nil: modified time +
+ + + + +
+
+ + merge (...) +
+
+ Merge two tables.

+ +

todo: Remove this and use vim.tbl_deep_extend + + +

Parameters:

+
    +
  • ... + + + +
  • +
+ +

Returns:

+
    + + table +
+ + + + +
+
+ + parse_hex (byte) +
+
+ Obvious. + + +

Parameters:

+
    +
  • byte + number +
  • +
+ +

Returns:

+
    + + number +
+ + + + +
+
+ + percent_or_hex (v) +
+
+ Obvious. + + +

Parameters:

+
    +
  • v + string +
  • +
+ +

Returns:

+
    + + number|nil +
+ + + + +
+
+ + watch_file (path, callback, ...) +
+
+ Watch a file for changes and execute callback + + +

Parameters:

+
    +
  • path + string: File path +
  • +
  • callback + function: Callback to execute +
  • +
  • ... + array: params for callback +
  • +
+ +

Returns:

+
    + + function|nil +
+ + + + +
+
+ + +
+
+
+generated by LDoc 1.4.6 +Last updated - September +
+
+ + -- cgit v1.2.3-70-g09d2