aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--doc/BufferBrowser.txt2
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