mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 13:20:44 +00:00
nvim-cmp: allow passing null to format
Not adding special cases to where it's used shouldn't break anything.
This commit is contained in:
parent
947cf90878
commit
e39d469da9
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
format = mkOption {
|
format = mkOption {
|
||||||
type = luaInline;
|
type = nullOr luaInline;
|
||||||
default = mkLuaInline ''
|
default = mkLuaInline ''
|
||||||
function(entry, vim_item)
|
function(entry, vim_item)
|
||||||
vim_item.menu = (${toLuaObject cfg.sources})[entry.source.name]
|
vim_item.menu = (${toLuaObject cfg.sources})[entry.source.name]
|
||||||
|
|
Loading…
Reference in a new issue