From 9530864b10d52fbe31ba535fad0f921b2e2ad4ca Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 6 May 2023 18:17:16 +0100 Subject: [PATCH] home: vim: fastfold: use lua configuration --- home/vim/plugin/settings/fastfold.vim | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/home/vim/plugin/settings/fastfold.vim b/home/vim/plugin/settings/fastfold.vim index a1f1787..3643e18 100644 --- a/home/vim/plugin/settings/fastfold.vim +++ b/home/vim/plugin/settings/fastfold.vim @@ -1,5 +1,6 @@ -" Intercept all fold commands -let g:fastfold_fold_command_suffixes=[ - \ 'x', 'X', 'a', 'A', 'o', 'O', 'c', 'C', - \ 'r', 'R', 'm', 'M', 'i', 'n', 'N' - \ ] +lua << EOF +-- Intercept all fold commands +vim.g.fastfold_fold_command_suffixes = { + "x", "X", "a", "A", "o", "O", "c", "C", "r", "R", "m", "M", "i", "n", "N", +} +EOF