aboutsummaryrefslogtreecommitdiffstats
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.lua b/init.lua
index 0c74216..2c98e4f 100644
--- a/init.lua
+++ b/init.lua
@@ -4,9 +4,9 @@
-- This plugin provides a declarative interface for setting vis
-- options depending on filetype.
--
--- It expects a global variable called `settings` to be defined:
+-- It expects a module attribute called `settings` to be defined:
--
--- settings = {
+-- ft.settings = {
-- markdown = {"set expandtab on", "set tabwidth 4"}
-- }
--
@@ -16,7 +16,7 @@
--
-- If you want to do more than setting simple options, you can specify a function instead:
--
--- settings = {
+-- ft.settings = {
-- bash = function(win)
-- -- do things for shell scripts
-- end