Skip to content

Commit

Permalink
Merge pull request #152 from lucobellic/patch-1
Browse files Browse the repository at this point in the history
docs: correct ignored buftypes and filetypes usage
  • Loading branch information
mrjones2014 authored Feb 17, 2024
2 parents 36bfe63 + 1f307be commit 5780c70
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ Defaults are shown below:

```lua
require('smart-splits').setup({
-- Ignored filetypes (only while resizing)
ignored_filetypes = {
-- Ignored buffer types (only while resizing)
ignored_buftypes = {
'nofile',
'quickfix',
'prompt',
},
-- Ignored buffer types (only while resizing)
ignored_buftypes = { 'NvimTree' },
-- Ignored filetypes (only while resizing)
ignored_filetypes = { 'NvimTree' },
-- the default number of lines/columns to resize by at a time
default_amount = 3,
-- Desired behavior when your cursor is at an edge and you
Expand Down

0 comments on commit 5780c70

Please sign in to comment.