Fork me on GitHub
#clj-kondo
<
2023-05-16
>
Ory Band12:05:00

Hi, I'm getting the following error + nvim completely hangs when trying to go to definiton to any function belonging to a 3rd party clojure library dependency:

; go to definition here:
(:require [com.stuartsierra.component :as component]

; i have this library in my classpath
# lein classpath
; ... /home/ory/.m2/repository/com/stuartsierra/component/1.0.0/component-1.0.0.jar ...

; and i get:

Error executing vim.schedule lua callback: /snap/nvim/2801/usr/share/nvim/runtime/lua/vim/lsp/util.lua:1157: Cursor position outside buffer
stack traceback:
        [C]: in function 'nvim_win_set_cursor'
        /snap/nvim/2801/usr/share/nvim/runtime/lua/vim/lsp/util.lua:1157: in function 'jump_to_location'
        ...nvim/lazy/telescope.nvim/lua/telescope/builtin/__lsp.lua:175: in function 'handler'
        /snap/nvim/2801/usr/share/nvim/runtime/lua/vim/lsp.lua:1394: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>

borkdude13:05:51

What does this have to do with clj-kondo?

borkdude13:05:13

If it's an lsp-specific error, please report in #CPABC1H61

👍 1