forked from overleaf/vim-env-syntax
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexamples.env
More file actions
25 lines (20 loc) · 814 Bytes
/
examples.env
File metadata and controls
25 lines (20 loc) · 814 Bytes
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
# Test env file
# -------------
# Regular assignment
FOO=bar
# Do not highlight shell keywords in value (compare with `:setf sh`).
SH_KEYWORDS=[1,2,3] $(date) { "foo": true } # comment
MANY_EQUAL_SIGNS=foo=bar='baz'
# Highlight quoted values as errors. They are not necessarily errors, but more
# often than not, quotes are added with an understanding of shell quoting,
# leading to unexpected quote characters in the value.
SINGLE_QUOTED='foo'
DOUBLE_QUOTED="foo"
# Spaces after the equal sign are permitted, but also become part of the value
# and are usually oversights.
SPACE_AFTER_EQUAL= foo bar
SPACE_AT_LINE_END=foo bar
# Variables without assigned values were valid Kustomize syntax for a while,
# but this is now considered a bug:
# https://github.com/kubernetes/website/issues/35669.
NOT_ASSIGNED