diff options
| author | Björn Linse <bjorn.linse@gmail.com> | 2019-02-02 21:27:09 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-02 21:27:09 +0100 |
| commit | 79a0ea2bec7c4a1c82990c07c87098b87bc2a1da (patch) | |
| tree | ffdf0820ab0b70622d58d40936ac6f0d9e2658fd /src/nvim/generators/c_grammar.lua | |
| parent | f89d0d8230f34dca49eddbea179d274955b572b9 (diff) | |
| parent | 0f96a21e3fd6ba989e27a992e48c084dd02d8885 (diff) | |
| download | rneovim-79a0ea2bec7c4a1c82990c07c87098b87bc2a1da.tar.gz rneovim-79a0ea2bec7c4a1c82990c07c87098b87bc2a1da.tar.bz2 rneovim-79a0ea2bec7c4a1c82990c07c87098b87bc2a1da.zip | |
Merge pull request #9530 from bfredl/pum_float
Implement popupmenu as a floating grid internally to reduce flicker
Diffstat (limited to 'src/nvim/generators/c_grammar.lua')
| -rw-r--r-- | src/nvim/generators/c_grammar.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/generators/c_grammar.lua b/src/nvim/generators/c_grammar.lua index d3047e1a9c..40bdc3e30c 100644 --- a/src/nvim/generators/c_grammar.lua +++ b/src/nvim/generators/c_grammar.lua @@ -25,6 +25,7 @@ local c_id = ( local c_void = P('void') local c_param_type = ( ((P('Error') * fill * P('*') * fill) * Cc('error')) + + C((P('const ') ^ -1) * (c_id) * (ws ^ 1) * P('*')) + (C(c_id) * (ws ^ 1)) ) local c_type = (C(c_void) * (ws ^ 1)) + c_param_type @@ -43,6 +44,7 @@ local c_proto = Ct( (fill * Cg((P('FUNC_API_REMOTE_ONLY') * Cc(true)), 'remote_only') ^ -1) * (fill * Cg((P('FUNC_API_REMOTE_IMPL') * Cc(true)), 'remote_impl') ^ -1) * (fill * Cg((P('FUNC_API_BRIDGE_IMPL') * Cc(true)), 'bridge_impl') ^ -1) * + (fill * Cg((P('FUNC_API_COMPOSITOR_IMPL') * Cc(true)), 'compositor_impl') ^ -1) * fill * P(';') ) |