mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-08 00:04:33 +02:00
New wrapDo helper and wrapping nvim-cmp in do ... end (#53)
* added wrapDo helper * nvim-cmp: wrapped with do Co-authored-by: Pedro Alves <pta2002@users.noreply.github.com>
This commit is contained in:
parent
9658aaf990
commit
76b915937e
2 changed files with 7 additions and 1 deletions
|
@ -394,7 +394,7 @@ in
|
|||
mkIf cfg.enable {
|
||||
extraPlugins = [ pkgs.vimPlugins.nvim-cmp ];
|
||||
|
||||
extraConfigLua = ''
|
||||
extraConfigLua = helpers.wrapDo ''
|
||||
local cmp = require('cmp')
|
||||
cmp.setup(${helpers.toLuaObject options})
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue