fix formatting
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user