Merge branch 'main' of github.com:hedyhli/outline.nvim

This commit is contained in:
hedy
2023-11-25 16:24:24 +08:00
2 changed files with 1 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
*outline.txt* For NVIM v0.7.0 Last change: 2023 November 24 *outline.txt* For NVIM v0.7.0 Last change: 2023 November 25
============================================================================== ==============================================================================
Table of Contents *outline-table-of-contents* Table of Contents *outline-table-of-contents*
@@ -17,22 +17,6 @@ Table of Contents *outline-table-of-contents*
- Limitations |outline-limitations| - Limitations |outline-limitations|
- Related plugins |outline-related-plugins| - Related plugins |outline-related-plugins|
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
**Features**
- Auto-updates items and highlight for current symbol as the cursor moves
- Supports **JSX** (treesitter), **Markdown**, **Norg** (treesitter), in
addition to LSP, with other treesitter support coming soon
- Outline window opened for each tabpage
- Symbol hierarchy UI with collapsible nodes and automatic collapsing based on
cursor movements
- Custom symbol icon function, mapping, or use LspKind (see |outline-custom-function| and |outline-config|)
- Dynamically set cursorline and cursor colors in outline (see
|outline-screenshot|)
- Extra symbol details and line numbers of symbols (see
|outline-screenshot|)
- Preview symbol location without visiting it
- Neovim command modifiers on where to open outline (see |mods|)
PREREQUISITES *outline-prerequisites* PREREQUISITES *outline-prerequisites*

View File

@@ -58,7 +58,6 @@ end
function Sidebar:destroy() function Sidebar:destroy()
self:delete_autocmds() self:delete_autocmds()
if self.view:is_open() then if self.view:is_open() then
vim.print('closing')
self.view:close() self.view:close()
end end
self.view = nil self.view = nil