From 6da058ff66f58eaf983f51b00be22871df92bc60 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Sat, 20 May 2023 16:27:03 -0500 Subject: Update readme --- README.md | 2 +- doc/BufferBrowser.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bc5af3f..b81affb 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ function. This is the default config: ```lua require('buffer-browser').setup({ -- '' + 'netrw' is used to filter out netrw. - filetype_filters = ['', 'netrw', 'gitcommit', 'TelescopePrompt'] + filetype_filters = {'', 'netrw', 'gitcommit', 'TelescopePrompt'} }) ``` diff --git a/doc/BufferBrowser.txt b/doc/BufferBrowser.txt index d6bc2f3..c5c061b 100644 --- a/doc/BufferBrowser.txt +++ b/doc/BufferBrowser.txt @@ -29,7 +29,7 @@ You can configure the filetype_filters by passing a table to the setup function. require('buffer-browser').setup({ -- '' + 'netrw' is used to filter out netrw. - filetype_filters = ['', 'netrw', 'gitcommit', 'TelescopePrompt'] + filetype_filters = {'', 'netrw', 'gitcommit', 'TelescopePrompt'} }) This can be used to filter out buffers you do not want in the history. If your -- cgit v1.2.3