From 738d6ba54783d5e5671026e6d3b71b4c883aa3d6 Mon Sep 17 00:00:00 2001 From: bhagwan Date: Fri, 11 Feb 2022 23:12:43 -0800 Subject: [PATCH] fixed delimiter for blines --- README.md | 2 +- doc/fzf-lua.txt | 2 +- lua/fzf-lua/config.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9c852a4..cbf52d9 100644 --- a/README.md +++ b/README.md @@ -599,7 +599,7 @@ require'fzf-lua'.setup { no_term_buffers = false, -- include 'term' buffers fzf_opts = { -- hide filename, tiebreak by line no. - ['--delimiter'] = vim.fn.shellescape('[:]'), + ['--delimiter'] = vim.fn.shellescape('[\\]:]'), ["--with-nth"] = '2..', ["--tiebreak"] = 'index', }, diff --git a/doc/fzf-lua.txt b/doc/fzf-lua.txt index a33c655..5bdb1ba 100644 --- a/doc/fzf-lua.txt +++ b/doc/fzf-lua.txt @@ -641,7 +641,7 @@ Consult the list below for available settings: no_term_buffers = false, -- include 'term' buffers fzf_opts = { -- hide filename, tiebreak by line no. - ['--delimiter'] = vim.fn.shellescape('[:]'), + ['--delimiter'] = vim.fn.shellescape('[\\]:]'), ["--with-nth"] = '2..', ["--tiebreak"] = 'index', }, diff --git a/lua/fzf-lua/config.lua b/lua/fzf-lua/config.lua index 97aa38e..0c091f4 100644 --- a/lua/fzf-lua/config.lua +++ b/lua/fzf-lua/config.lua @@ -361,7 +361,7 @@ M.globals.blines = { show_unlisted = true, no_term_buffers = false, fzf_opts = { - ['--delimiter'] = vim.fn.shellescape('[:]'), + ['--delimiter'] = vim.fn.shellescape('[\\]:]'), ["--with-nth"] = '2..', ["--tiebreak"] = 'index', },