diff options
author | 2016-06-27 22:15:41 -0400 | |
---|---|---|
committer | 2016-06-27 22:15:41 -0400 | |
commit | e17b7a2d5608f265eefb2bde080dff2549217353 (patch) | |
tree | 61e18567179b5cb33819f5b751eca78fb819ee27 /doc/manual.md | |
parent | 556a0fa7dd9fe28898d2922b304fa86e8318aad3 (diff) | |
download | textadept-e17b7a2d5608f265eefb2bde080dff2549217353.tar.gz textadept-e17b7a2d5608f265eefb2bde080dff2549217353.zip |
Document new snippet directory paths preference; doc/manual.md
Diffstat (limited to 'doc/manual.md')
-rw-r--r-- | doc/manual.md | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/manual.md b/doc/manual.md index 666aca6c..ce558dd2 100644 --- a/doc/manual.md +++ b/doc/manual.md @@ -1159,7 +1159,14 @@ via a global `snippets` table: end end) -Learn more about snippets and snippet syntax in the [snippets documentation][]. +You may also have a directory of snippet files where each file is its own +snippet: filenames emulate the keys in the `snippets` table and file contents +are the snippet text. Adding such snippet directories looks like this: + + textadept.snippets._paths[#textadept.snippets._paths + 1] = '/path/to/dir' + +Learn more about snippets, snippet syntax, and snippet files in the +[snippets documentation][]. [snippets documentation]: api.html#textadept.snippets |