Skip to content

Commit

Permalink
fix: only require otter when activating
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed Feb 19, 2024
1 parent 3b270ff commit 5336b86
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lua/quarto/init.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
local M = {}
local api = vim.api
local cfg = require("quarto.config")
local otter = require("otter")
local tools = require("quarto.tools")
local util = require("lspconfig.util")

Expand Down Expand Up @@ -108,7 +107,7 @@ M.activate = function()
]]
end
otter.activate(
require'otter'.activate(
cfg.config.lspFeatures.languages,
cfg.config.lspFeatures.completion.enabled,
cfg.config.lspFeatures.diagnostics.enabled,
Expand Down

0 comments on commit 5336b86

Please sign in to comment.