-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with lsp-ui-imenu: Wrong type argument: integer-or-marker-p #16051
Comments
I have tested it with same develop (rev. c6c5082) and layers as yours. Everything seems OK. I can jump to any symbol without error. I can't reproduce your bug. I don't have Maybe you can remove those three layers and try again. |
Will be fixed on emacs-lsp/lsp-ui#753 This is because Semantic layer conflicts with the lsp-ui package. You can remove Semantic layer to solve this question. |
I have tested this on latest develop and this seems to be fixed already upstream. Please reopen if the issue still appears on latest develop. For reference here is my config section: semantic
(python :variables
python-backend 'lsp
python-lsp-server 'pylsp
python-test-runner 'pytest
python-formatter 'lsp
python-format-on-save t
python-save-before-test t
python-sort-imports-on-save t) I have used the following tiny test file: print("asdf")
print("asdf")
print("asdf")
print("asdf")
print("asdf")
print("asdf")
print("asdf")
print("asdf")
print("asdf")
print("asdf")
def my_func():
print("something")
my_func() I have made sure that I can jump from the name of |
@smile13241324 just confim it is fixed for me too. |
@smile13241324 yet my org-toc-show stops working now ToT |
Description
While working with Python in Spacemacs using the LSP backend, I
encountered an error when trying to use
lsp-ui-imenu
. Afteractivating
lsp-ui-imenu
and pressingRET
to jump to a symbol, Ireceive the error message
Wrong type argument: integer-or-marker-p
.Reproduction guide 🪲
Observed behaviour: 👀 💔
receive the error message
Expected behaviour: ❤️ 😄
I expected lsp-ui-imenu to navigate to the selected symbol in the Python file without error.
System Info 💻
The text was updated successfully, but these errors were encountered: