irongit

My nvim configuration

hygo-nvim/snippets/colors.json
92 lines2.0 KBJSON
1{
2 "Ansi Red": {
3 "prefix": [
4 "red"
5 ],
6 "description": "Makes red colored ansi text",
7 "body": [
8 "\\033[31m${1:text}\\033[0m"
9 ]
10 },
11 "Ansi Green": {
12 "prefix": [
13 "green"
14 ],
15 "description": "Makes green colored ansi text",
16 "body": [
17 "\\033[32m${1:text}\\033[0m"
18 ]
19 },
20 "Ansi Yellow": {
21 "prefix": [
22 "yellow"
23 ],
24 "description": "Makes yellow colored ansi text",
25 "body": [
26 "\\033[33m${1:text}\\033[0m"
27 ]
28 },
29 "Ansi Blue": {
30 "prefix": [
31 "blue"
32 ],
33 "description": "Makes blue colored ansi text",
34 "body": [
35 "\\033[34m${1:text}\\033[0m"
36 ]
37 },
38 "Ansi Magenta": {
39 "prefix": [
40 "magenta"
41 ],
42 "description": "Makes magenta colored ansi text",
43 "body": [
44 "\\033[35m${1:text}\\033[0m"
45 ]
46 },
47 "Ansi Cyan": {
48 "prefix": [
49 "cyan"
50 ],
51 "description": "Makes cyan colored ansi text",
52 "body": [
53 "\\033[36m${1:text}\\033[0m"
54 ]
55 },
56 "Ansi White": {
57 "prefix": [
58 "white"
59 ],
60 "description": "Makes white colored ansi text",
61 "body": [
62 "\\033[37m${1:text}\\033[0m"
63 ]
64 },
65 "Ansi Black": {
66 "prefix": [
67 "black"
68 ],
69 "description": "Makes black colored ansi text",
70 "body": [
71 "\\033[30m${1:text}\\033[0m"
72 ]
73 },
74 "Ansi Bold Red": {
75 "prefix": [
76 "boldred"
77 ],
78 "description": "Makes bold red colored ansi text",
79 "body": [
80 "\\033[1;31m${1:text}\\033[0m"
81 ]
82 },
83 "Ansi Bold Green": {
84 "prefix": [
85 "boldgreen"
86 ],
87 "description": "Makes bold green colored ansi text",
88 "body": [
89 "\\033[1;32m${1:text}\\033[0m"
90 ]
91 }
92}