simrat39 / symbols-outline.nvim

A tree like view for symbols in Neovim using the Language Server Protocol. Supports all your favourite languages.
MIT License
1.85k stars 97 forks source link

Crash upon opening SQL files #197

Open dhazel opened 1 year ago

dhazel commented 1 year ago

Neovim version: 0.8.2

I am currently experiencing a Neovim crash under the following conditions:

  1. The symbols-outline.nvim plugin is installed, with default options
  2. An SQL file is opened

Let me know if this is not simple to reproduce and I will make some time to create a minimal reproduction.

simrat39 commented 1 year ago

Which sql language server are you using?

dhazel commented 1 year ago

Ha! After looking, I do not have an sql language server installed!

I realize now that I had assumed that symbols-outline.nvim used treesitter rather than lsp.

So, perhaps the bug is instead the crash of neovim when attempting to run symbols-outline.nvim when the current file has no language server.