diff options
author | John Ankarström <john@ankarstrom.se> | 2018-10-13 23:58:10 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2018-10-13 23:58:10 +0200 |
commit | ff83be22e1d883c9f20222f4bfdccac4b96a9138 (patch) | |
tree | 77967f7ff880fc02de3d43a3474651f7f7ecb3f0 | |
parent | 8f40dd3f013bce7d7ca5ecaca1a3c97ef077e044 (diff) | |
download | vis-filetype-settings-ff83be22e1d883c9f20222f4bfdccac4b96a9138.tar.gz |
README: fixed typo
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | vis-filetype-settings.lua | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -7,7 +7,7 @@ It expects a global variable called `settings` to be defined: ```lua settings = { - markdown = {"expandtab on", "tabwidth 4"} + markdown = {'set expandtab on', 'set tabwidth 4'} } ``` @@ -34,7 +34,7 @@ As a suggestion, copy `vis-filetype-settings.lua` into `~/.config/vis/plugins/` and add the following to your `visrc.lua`: ```lua -require("plugins/vis-filetype-settings") +require('plugins/vis-filetype-settings') settings = { filetype = settings diff --git a/vis-filetype-settings.lua b/vis-filetype-settings.lua index 8fa10f6..47ba424 100644 --- a/vis-filetype-settings.lua +++ b/vis-filetype-settings.lua @@ -7,7 +7,7 @@ -- It expects a global variable called `settings` to be defined: -- -- settings = { --- markdown = {"expandtab on", "tabwidth 4"} +-- markdown = {'set expandtab on', 'set tabwidth 4'} -- } -- -- In this variable, filetypes are mapped to sets of settings that are |