diff options
author | Frank Seifferth <frankseifferth@posteo.net> | 2022-03-15 11:14:24 +0100 |
---|---|---|
committer | Frank Seifferth <frankseifferth@posteo.net> | 2022-03-15 11:14:24 +0100 |
commit | a7f6b2ffd830063a0e88c5e228b7c4bbe8e3894c (patch) | |
tree | 4e49a0ea4986a4f610e129b5dc7e058606610fbd | |
parent | cb7a29536c01e4642aa5b74ed9ae18cf5085cca5 (diff) | |
download | vis-editorconfig-a7f6b2ffd830063a0e88c5e228b7c4bbe8e3894c.tar.gz |
Add note to readme warning about infinite recursion
-rw-r--r-- | README.md | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -11,10 +11,17 @@ You'll need the Lua wrapper for editorconfig-core installed. This can be done through luarocks: `luarocks install editorconfig-core` ```shell -git clone https://github.com/seifferth/vis-editorconfig "$HOME/.config/vis/editorconfig" +git clone https://github.com/seifferth/vis-editorconfig "$HOME/.config/vis/edconf" ``` -Then add `require('editorconfig/edconf')` to your `visrc.lua`. +Then add `require('edconf')` to your `visrc.lua`. + +You may use a different name for the local repository, if you like. +You could, for instance, use `$HOME/.config/vis/vis-editorconfig` and +`require('vis-editorconfig')`. Note, however, that the repository **must +not** be called `editorconfig`. Since the editorconfig-core lua library +is also called `editorconfig`, naming the repository `editorconfig` +will cause name conflicts that result in infinite recursion. ## Functionality |