mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
Merge #4964 from ZyX-I/no-xdg-expand
option: Do not expand options, obtained from XDG vars
This commit is contained in:
@@ -57,9 +57,14 @@ local get_flags = function(o)
|
||||
add_flag(redraw_flags[r_flag])
|
||||
end
|
||||
end
|
||||
if o.expand then
|
||||
add_flag('P_EXPAND')
|
||||
if o.expand == 'nodefault' then
|
||||
add_flag('P_NO_DEF_EXP')
|
||||
end
|
||||
end
|
||||
for _, flag_desc in ipairs({
|
||||
{'alloced'},
|
||||
{'expand'},
|
||||
{'nodefault'},
|
||||
{'no_mkrc'},
|
||||
{'vi_def'},
|
||||
|
Reference in New Issue
Block a user