diff options
author | John Ankarström <john@ankarstrom.se> | 2018-10-14 17:51:28 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2018-10-14 17:52:37 +0200 |
commit | 68922d857f75e4a373e4e2273f0c921478609c50 (patch) | |
tree | db28b21e5df86c4afe18ca09bda5d4ab412d82b2 /vis-filetype-settings.lua | |
parent | ff83be22e1d883c9f20222f4bfdccac4b96a9138 (diff) | |
download | vis-filetype-settings-68922d857f75e4a373e4e2273f0c921478609c50.tar.gz |
changed quote style
Diffstat (limited to 'vis-filetype-settings.lua')
-rw-r--r-- | vis-filetype-settings.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vis-filetype-settings.lua b/vis-filetype-settings.lua index 47ba424..ff4a94c 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 = {'set expandtab on', 'set tabwidth 4'} +-- markdown = {"set expandtab on", "set tabwidth 4"} -- } -- -- In this variable, filetypes are mapped to sets of settings that are @@ -28,11 +28,11 @@ vis.events.subscribe(vis.events.WIN_OPEN, function(win) local window_settings = settings[win.syntax] - if type(window_settings) == 'table' then + if type(window_settings) == "table" then for _, setting in pairs(window_settings) do vis:command(setting) end - elseif type(window_settings) == 'function' then + elseif type(window_settings) == "function" then window_settings(win) end end) |