From e45f80288c0af7f30d785676a0d89c9dcc3e390a Mon Sep 17 00:00:00 2001 From: EdenEast Date: Tue, 19 Sep 2023 19:16:01 -0400 Subject: [PATCH] fix(vim): resolve deprecation of nested `[[` (#373) --- lua/nightfox/lib/vim/compiler.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/nightfox/lib/vim/compiler.lua b/lua/nightfox/lib/vim/compiler.lua index 35982ccf..10f23de3 100644 --- a/lua/nightfox/lib/vim/compiler.lua +++ b/lua/nightfox/lib/vim/compiler.lua @@ -17,7 +17,7 @@ function M.compile(opts) local lines = { fmt( - [[ + [=[ return string.dump(function() vim.command([[ if exists("colors_name") @@ -25,7 +25,7 @@ if exists("colors_name") endif set termguicolors let g:colors_name = "%s" -set background=%s]], +set background=%s]=], style, background ),