Closed thecontinium closed 2 years ago
That's nvim-lspconfig issue while gina buffer is not file buffer and that is determinable from it's buffer name.
As your classification highlights it is a file. So it warrants coverage by Lsp but with the root directory of the respective file on disk rather than attempting to find the root of a file from git. Thanks for your input I will close this.
Hi
I am using gina to compare git differences along with LSP servers and nvim-lspconfig
Gina assigns names in the format gina://... with a buftype of nowrite to the git version of the file.
Lspconfig attempts to find the root project directory for these types of buffers. It tries all buffers except those that are of buftype nofile resulting in many notifications on the git version of the buffer that the root dir cannot be found.
I am not sure where this should be fixed but would welcome your thoughts on the best solution ?
Cheers