aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2018-10-12 20:25:50 +0200
committerJohn Ankarström <john@ankarstrom.se>2018-10-12 20:25:50 +0200
commit48924e9199faea49eaa1da5176a0982b11114146 (patch)
tree7f99de3695100bddc5227ebfe1b4502b5b365247
parent3d6785d73b7ae3020e4873479dc29395bb15cddb (diff)
downloadvis-filetype-settings-48924e9199faea49eaa1da5176a0982b11114146.tar.gz
README: added installation instructions
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index a191bb7..f631c8d 100644
--- a/README.md
+++ b/README.md
@@ -27,3 +27,16 @@ settings = {
Be sure not to run commands that open another window with the same
filetype, leading to an infinite loop.
+
+### Installation
+
+As a suggestion, copy `vis-autocmd.lua` into `~/.config/vis/plugins/`
+and add the following to your `visrc.lua`:
+
+```lua
+require('plugins/vis-autocmd.lua')
+
+settings = {
+ filetype = settings
+}
+```