aboutsummaryrefslogtreecommitdiff
path: root/doc/modules/colorizer.utils.html
blob: 9bca2596945b3c6046eb31e54c1b1651bc2a18ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
==============================================================================
UTILS                                                          *colorizer.utils*

Helper utils


==============================================================================
LUA API                                                        *colorizer.utils*

Available Functions:

    |colorizer.utils.byte_is_alphanumeric| - Obvious

    |colorizer.utils.byte_is_hex| - Obvious

    |colorizer.utils.merge| - Merge two tables
 TODO Remove this and use vim.tbl_deep_extend

    |colorizer.utils.parse_hex| - Obvious

    |colorizer.utils.percent_or_hex| - Obvious



byte_is_alphanumeric({byte})              |colorizer.utils.byte_is_alphanumeric|
    Obvious


    Parameters:
        {byte} -  number

    Returns:
        boolean



byte_is_hex({byte})                                |colorizer.utils.byte_is_hex|
    Obvious


    Parameters:
        {byte} -  number

    Returns:
        boolean



merge({...})                                             |colorizer.utils.merge|
    Merge two tables
 TODO Remove this and use vim.tbl_deep_extend


    Parameters:
        {...} -

    Returns:
        table



parse_hex({byte})                                    |colorizer.utils.parse_hex|
    Obvious


    Parameters:
        {byte} -  number

    Returns:
        number



percent_or_hex({v})                             |colorizer.utils.percent_or_hex|
    Obvious


    Parameters:
        {v} -  string

    Returns:
        number|nil




 vim:tw=78:ts=8:noet:ft=help:norl: