diff options
-rw-r--r-- | init.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |