Skip to content

Commit e45ef2c

Browse files
committed
update
1 parent 9073b2a commit e45ef2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/phoenix/init.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ local projects = {}
33

44
---Default configuration values for Phoenix
55
---@type PhoenixConfig
6-
vim.g.phoenix = {
6+
local defaults = {
77
-- Enable for all filetypes by default
88
filetypes = { '*' },
99

@@ -47,7 +47,7 @@ vim.g.phoenix = {
4747
ignore_patterns = {}, -- No ignore patterns by default
4848
},
4949
}
50-
50+
vim.g.phoenix = vim.tbl_deep_extend('force', defaults, vim.g.phoenix or {})
5151
local Config = vim.g.phoenix
5252

5353
local Trie = {}

0 commit comments

Comments
 (0)