mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 11:40:36 +00:00
16 lines
412 B
Lua
16 lines
412 B
Lua
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)
|