Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(adapters): check buffer is loaded (#160)
`vim.api.nvim_buf_get_name()` will throw an error if run on an unloaded buffer. I'm using `noice.nvim` which I think creates some unloaded buffers. This PR adds a check to ensure the buffer is loaded before trying to get the name.
- Loading branch information