diff --git a/lua/absolute/after/otter.lua b/lua/absolute/after/otter.lua new file mode 100644 index 0000000..057859f --- /dev/null +++ b/lua/absolute/after/otter.lua @@ -0,0 +1,15 @@ +local otter = require("otter") + +-- table of embedded languages to look for. +-- required (no default) +local languages = { "python", "lua" } + +-- enable completion/diagnostics +-- defaults are true +local completion = true +local diagnostics = true +-- treesitter query to look for embedded languages +-- uses injections if nil or not set +local tsquery = nil + +otter.activate(languages, completion, diagnostics, tsquery)