nvim-autopairs: use multiline string

This commit is contained in:
diniamo 2024-10-08 23:02:30 +02:00
parent 1ebc002042
commit 630b8ffe51

View file

@ -12,7 +12,9 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
vim = { vim = {
startPlugins = ["nvim-autopairs"]; startPlugins = ["nvim-autopairs"];
pluginRC.autopairs = entryAnywhere "require('nvim-autopairs').setup(${toLuaObject cfg.setupOpts})"; pluginRC.autopairs = entryAnywhere ''
require('nvim-autopairs').setup(${toLuaObject cfg.setupOpts})
'';
}; };
}; };
} }