We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9073b2a commit e45ef2cCopy full SHA for e45ef2c
lua/phoenix/init.lua
@@ -3,7 +3,7 @@ local projects = {}
3
4
---Default configuration values for Phoenix
5
---@type PhoenixConfig
6
-vim.g.phoenix = {
+local defaults = {
7
-- Enable for all filetypes by default
8
filetypes = { '*' },
9
@@ -47,7 +47,7 @@ vim.g.phoenix = {
47
ignore_patterns = {}, -- No ignore patterns by default
48
},
49
}
50
-
+vim.g.phoenix = vim.tbl_deep_extend('force', defaults, vim.g.phoenix or {})
51
local Config = vim.g.phoenix
52
53
local Trie = {}
0 commit comments