aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2017-02-02 11:56:22 +0100
committerMarc André Tanner <mat@brain-dump.org>2017-02-02 13:51:33 +0100
commit6db279e12d40b1fb3863ff645cf130d1bcf7384c (patch)
treeb4cd422e2379d157d1c394abda2832cf7ca71b79 /lua
parent36b03e5d0ccee3228b19084ccb4a5e67ee06ef73 (diff)
downloadvis-6db279e12d40b1fb3863ff645cf130d1bcf7384c.tar.gz
vis-6db279e12d40b1fb3863ff645cf130d1bcf7384c.tar.xz
update comment and readme about lua path
Commit 3570869c removed the lexers sub directory from the Lua search path. Update the comment and readme to reflect this change.
Diffstat (limited to 'lua')
-rw-r--r--lua/lexers/README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/lexers/README.md b/lua/lexers/README.md
index 10dde78..72fa67f 100644
--- a/lua/lexers/README.md
+++ b/lua/lexers/README.md
@@ -13,9 +13,10 @@ Vis searches the lexers in the following locations (check the end of the
* `./lua/lexers` relative to the binary location (using `/proc/self/exe`)
* `$XDG_CONFIG_HOME/vis/lexers` where `$XDG_CONFIG_HOME` refers to
`$HOME/.config` if unset.
+ * `/etc/vis/lexers`
* `/usr/local/share/vis/lexers` or `/usr/share/vis/lexers` depending on
the build configuration
- * `package.path` (standard lua search path)
+ * `package.path` the standard Lua search path is queried for `lexers/$name`
At runtime a specific lexer can be loded by means of `:set syntax <name>`
where `<name>` corresponds to the filename without the `.lua` extension.