refractor(opts): Move options into its own module
This commit is contained in:
15
lua/symbols-outline/config.lua
Normal file
15
lua/symbols-outline/config.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
local vim = vim
|
||||
|
||||
local M = {}
|
||||
|
||||
local defaults = {
|
||||
highlight_hovered_item = true,
|
||||
}
|
||||
|
||||
M.options = {}
|
||||
|
||||
function M.setup(options)
|
||||
M.options = vim.tbl_deep_extend("force", {}, defaults, options or {})
|
||||
end
|
||||
|
||||
return M
|
||||
Reference in New Issue
Block a user