From 98f8a77819670ce6012216e01885c135a6d3a289 Mon Sep 17 00:00:00 2001 From: Christian Chiarulli Date: Sat, 24 Jul 2021 21:17:11 -0400 Subject: New contract (#1080) Changes to the global config object O is now lvim user_plugins is now plugins user_autocommands is now autocommands No more lang specific plugins Null-ls has replaced both formatter.nvim and nvim-lint --- lua/core/compe.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lua/core/compe.lua') diff --git a/lua/core/compe.lua b/lua/core/compe.lua index c8152ad1..a3521cfe 100644 --- a/lua/core/compe.lua +++ b/lua/core/compe.lua @@ -1,6 +1,6 @@ local M = {} M.config = function() - O.completion = { + lvim.completion = { enabled = true, autocomplete = true, debug = false, @@ -34,14 +34,14 @@ M.config = function() end M.setup = function() - vim.g.vsnip_snippet_dir = O.vsnip_dir + vim.g.vsnip_snippet_dir = lvim.vsnip_dir local status_ok, compe = pcall(require, "compe") if not status_ok then return end - compe.setup(O.completion) + compe.setup(lvim.completion) local t = function(str) return vim.api.nvim_replace_termcodes(str, true, true, true) -- cgit v1.2.3