aboutsummaryrefslogtreecommitdiff
path: root/vis-lua.c
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 /vis-lua.c
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 'vis-lua.c')
-rw-r--r--vis-lua.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/vis-lua.c b/vis-lua.c
index e45f694..cda9dd9 100644
--- a/vis-lua.c
+++ b/vis-lua.c
@@ -2183,11 +2183,11 @@ void vis_lua_init(Vis *vis) {
vis_lua_path_strip(vis);
/* extends lua's package.path with:
- * - $VIS_PATH/{,lexers}
- * - {,lexers} relative to the binary location
- * - $XDG_CONFIG_HOME/vis/{,lexers} (defaulting to $HOME/.config/vis/{,lexers})
- * - /etc/vis/{,lexers} (for system-wide configuration provided by administrator)
- * - /usr/local/share/vis/{,lexers} (or whatever is specified during ./configure)
+ * - $VIS_PATH
+ * - ./lua (relative path to the binary location)
+ * - $XDG_CONFIG_HOME/vis (defaulting to $HOME/.config/vis)
+ * - /etc/vis (for system-wide configuration provided by administrator)
+ * - /usr/(local/)?share/vis (or whatever is specified during ./configure)
* - package.path (standard lua search path)
*/
char path[PATH_MAX];