diff options
author | LostNeophyte <[email protected]> | 2023-01-25 18:55:31 +0100 |
---|---|---|
committer | LostNeophyte <[email protected]> | 2023-01-25 18:55:31 +0100 |
commit | 75b653cc623a8cd6de397e42f21b838a065eb0e0 (patch) | |
tree | 7b43499c99423651d7e75662bb4628569834e28f /lua/lvim/core/illuminate.lua | |
parent | 4f02e54d923414eb6690d64c7e334f624a2a9342 (diff) |
refactor!: put all plugin options under `opts`
Diffstat (limited to 'lua/lvim/core/illuminate.lua')
-rw-r--r-- | lua/lvim/core/illuminate.lua | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lua/lvim/core/illuminate.lua b/lua/lvim/core/illuminate.lua index dbed9c3a..f9b4e918 100644 --- a/lua/lvim/core/illuminate.lua +++ b/lua/lvim/core/illuminate.lua @@ -2,7 +2,7 @@ local M = {} M.config = function() local config = { - options = { + opts = { -- providers: provider used to get references in the buffer, ordered by priority providers = { "lsp", @@ -60,10 +60,7 @@ M.setup = function() return end - local config_ok, _ = pcall(illuminate.configure, lvim.builtin.illuminate.options) - if not config_ok then - return - end + pcall(illuminate.configure, lvim.builtin.illuminate.opts) end return M |