Skip to content

Commit f9d40e7

Browse files
committed
Add a tip about custom shell variables via metafiles
1 parent cc68aaa commit f9d40e7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/guide/extensibility/snippets.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,14 @@ automatically by Sublime Text.
118118
| `$TM_SOFT_TABS` | `YES` if `translate_tabs_to_spaces` is true, otherwise `NO`. |
119119
| `$TM_TAB_SIZE` | Spaces per-tab (controlled by the `tab_size` option). |
120120

121+
122+
::: tip Note
123+
Packages can define more, environment variables via [Shell Variables in Metafiles][shell-vars].
124+
125+
[shell-vars]: ../../reference/metadata#shell-variables
126+
:::
127+
128+
121129
Let's see a simple example of a snippet using variables:
122130

123131
```perl

0 commit comments

Comments
 (0)