Skip to content
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

Use of theme Iconless raises error when trying to expand top-level entry in errors view #86

Open
swinkels opened this issue Dec 30, 2020 · 0 comments

Comments

@swinkels
Copy link

If I set the lsp-treemacs-theme to new theme Iconless, pressing the tab key on the top-level entry of the LSP Errors View results in a Wrong type argument: char-or-string-p, nil and the entry is not expanded. The stack trace shows the following:

Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil)
  treemacs--do-expand-lsp-projects(#<marker (moves after insertion) at 13 in *LSP Error List*>)
  treemacs-expand-lsp-projects(nil)
  treemacs-TAB-action(nil)
  funcall-interactively(treemacs-TAB-action nil)
  call-interactively(treemacs-TAB-action nil nil)
  command-execute(treemacs-TAB-action)

If I set the theme back to Default again (via Erase Customization), kill the LSP Errors View and display the view again, I get the same error. If I then restart Emacs, still using theme Default, display the LSP Errors View again and press the tab key on the top-level entry, no error is raised and the entry is expanded.

I tested this in Spacemacs develop branch, commit c4ad14a, dated Sunday December 20 2020, using a Python file and the pyls backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant