fix formatting

This commit is contained in:
Julian Doherty
2022-08-27 11:53:20 +10:00
parent 04b4abb5ba
commit a6d40cd63c
2 changed files with 4 additions and 4 deletions

View File

@@ -114,7 +114,7 @@ local opts = {
| symbol_blacklist | Which symbols to ignore ([possible values](./lua/symbols-outline/symbols.lua)) | table (array) | {} | | symbol_blacklist | Which symbols to ignore ([possible values](./lua/symbols-outline/symbols.lua)) | table (array) | {} |
| autofold_depth | Depth past which nodes will be folded by default | int | nil | | autofold_depth | Depth past which nodes will be folded by default | int | nil |
| auto_unfold_hover | Automatically unfold hovered symbol | boolean | true | | auto_unfold_hover | Automatically unfold hovered symbol | boolean | true |
| fold_markers | Markers to denote foldable symbol's status | table (array) | { '', '' } | | fold_markers | Markers to denote foldable symbol's status | table (array) | { '', '' } |
| wrap | Whether to wrap long lines, or let them flow off the window | boolean | false | | wrap | Whether to wrap long lines, or let them flow off the window | boolean | false |
## Commands ## Commands

View File

@@ -57,9 +57,9 @@ end
function View:is_open() function View:is_open()
return self.winnr return self.winnr
and self.bufnr and self.bufnr
and vim.api.nvim_buf_is_valid(self.bufnr) and vim.api.nvim_buf_is_valid(self.bufnr)
and vim.api.nvim_win_is_valid(self.winnr) and vim.api.nvim_win_is_valid(self.winnr)
end end
return View return View