Fix clang compilation
This commit is contained in:
parent
adcd0a03b1
commit
1295bc95cc
|
@ -52,7 +52,7 @@ void register_env_vars()
|
||||||
String (*func)(StringView, const Context&);
|
String (*func)(StringView, const Context&);
|
||||||
} env_vars[] = { {
|
} env_vars[] = { {
|
||||||
"bufname",
|
"bufname",
|
||||||
[](StringView name, const Context& context)
|
[](StringView name, const Context& context) -> String
|
||||||
{ return context.buffer().display_name(); }
|
{ return context.buffer().display_name(); }
|
||||||
}, {
|
}, {
|
||||||
"buffile",
|
"buffile",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user