Giter Site home page Giter Site logo

Comments (4)

manateelazycat avatar manateelazycat commented on September 24, 2024 2

I have push 1b3b50e

Please try again.

from lsp-bridge.

tjtrabue avatar tjtrabue commented on September 24, 2024 1

It works! 😄 Thank you so much for your quick and diligent help. You can close this issue now. Have a wonderful day!

from lsp-bridge.

manateelazycat avatar manateelazycat commented on September 24, 2024

I have push 287ad29

Can you update to newest version and try again? Thanks.

from lsp-bridge.

tjtrabue avatar tjtrabue commented on September 24, 2024

Hi @manateelazycat, thank you for the quick response. I just pulled your latest update and tried running M-x treemacs-edit-workspaces again, and now I am getting a slightly different error. Here's the backtrace:

Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
  file-truename(nil)
  (if (lsp-bridge-is-remote-file) lsp-bridge-remote-file-path (file-truename (or filename (lsp-bridge-get-buffer-file-name-text))))
  lsp-bridge-get-buffer-truename()
  (set (make-local-variable 'acm-backend-lsp-filepath) (lsp-bridge-get-buffer-truename))
  (progn (if (not (lsp-bridge-is-remote-file)) (progn (if (and (buffer-file-name) (not (file-exists-p (buffer-file-name)))) (progn (save-buffer))))) (set (make-local-variable 'acm-backend-lsp-server-command-exist) t) (set (make-local-variable 'acm-backend-lsp-cache-candidates) nil) (set (make-local-variable 'acm-backend-lsp-completion-position) nil) (set (make-local-variable 'acm-backend-lsp-completion-trigger-characters) nil) (set (make-local-variable 'acm-backend-lsp-server-names) nil) (set (make-local-variable 'acm-backend-lsp-filepath) (lsp-bridge-get-buffer-truename)) (set (make-local-variable 'acm-backend-lsp-items) (make-hash-table :test 'equal)) (if lsp-bridge-enable-signature-help (progn (if lsp-bridge-signature-help-timer nil (setq lsp-bridge-signature-help-timer (run-with-idle-timer lsp-bridge-signature-help-fetch-idle t #'(lambda nil ...)))))) (if lsp-bridge-enable-auto-format-code (progn (if lsp-bridge-auto-format-code-timer nil (setq lsp-bridge-auto-format-code-timer (run-with-idle-timer lsp-bridge-auto-format-code-idle t #'(lambda nil ...)))))))
  (if (or (lsp-bridge-has-lsp-server-p) (and lsp-bridge-enable-org-babel (eq major-mode 'org-mode) (not (lsp-bridge-is-org-temp-buffer-p)))) (progn (if (not (lsp-bridge-is-remote-file)) (progn (if (and (buffer-file-name) (not (file-exists-p ...))) (progn (save-buffer))))) (set (make-local-variable 'acm-backend-lsp-server-command-exist) t) (set (make-local-variable 'acm-backend-lsp-cache-candidates) nil) (set (make-local-variable 'acm-backend-lsp-completion-position) nil) (set (make-local-variable 'acm-backend-lsp-completion-trigger-characters) nil) (set (make-local-variable 'acm-backend-lsp-server-names) nil) (set (make-local-variable 'acm-backend-lsp-filepath) (lsp-bridge-get-buffer-truename)) (set (make-local-variable 'acm-backend-lsp-items) (make-hash-table :test 'equal)) (if lsp-bridge-enable-signature-help (progn (if lsp-bridge-signature-help-timer nil (setq lsp-bridge-signature-help-timer (run-with-idle-timer lsp-bridge-signature-help-fetch-idle t #'...))))) (if lsp-bridge-enable-auto-format-code (progn (if lsp-bridge-auto-format-code-timer nil (setq lsp-bridge-auto-format-code-timer (run-with-idle-timer lsp-bridge-auto-format-code-idle t #'...)))))))
  (if (or (equal (buffer-name (current-buffer)) acm-buffer) (equal (buffer-name (current-buffer)) acm-doc-buffer)) nil (if lsp-bridge-disable-backup (progn (setq make-backup-files nil) (setq auto-save-default nil) (setq create-lockfiles nil))) (if (and lsp-bridge-symbols-enable-which-func (featurep 'which-func) which-function-mode) (set (make-local-variable 'which-func-functions) (if (member #'lsp-bridge-symbols--current-defun which-func-functions) which-func-functions (setq which-func-functions (cons #'lsp-bridge-symbols--current-defun which-func-functions))))) (set (make-local-variable 'lsp-bridge-revert-buffer-flag) nil) (if acm-backend-elisp-symbols-update-timer nil (setq acm-backend-elisp-symbols-update-timer (run-with-idle-timer lsp-bridge-elisp-symbols-update-idle t #'(lambda nil (funcall 'lsp-bridge-elisp-symbols-update))))) (if (or (lsp-bridge-has-lsp-server-p) (and lsp-bridge-enable-org-babel (eq major-mode 'org-mode) (not (lsp-bridge-is-org-temp-buffer-p)))) (progn (if (not (lsp-bridge-is-remote-file)) (progn (if (and (buffer-file-name) (not ...)) (progn (save-buffer))))) (set (make-local-variable 'acm-backend-lsp-server-command-exist) t) (set (make-local-variable 'acm-backend-lsp-cache-candidates) nil) (set (make-local-variable 'acm-backend-lsp-completion-position) nil) (set (make-local-variable 'acm-backend-lsp-completion-trigger-characters) nil) (set (make-local-variable 'acm-backend-lsp-server-names) nil) (set (make-local-variable 'acm-backend-lsp-filepath) (lsp-bridge-get-buffer-truename)) (set (make-local-variable 'acm-backend-lsp-items) (make-hash-table :test 'equal)) (if lsp-bridge-enable-signature-help (progn (if lsp-bridge-signature-help-timer nil (setq lsp-bridge-signature-help-timer (run-with-idle-timer lsp-bridge-signature-help-fetch-idle t ...))))) (if lsp-bridge-enable-auto-format-code (progn (if lsp-bridge-auto-format-code-timer nil (setq lsp-bridge-auto-format-code-timer (run-with-idle-timer lsp-bridge-auto-format-code-idle t ...))))))) (let ((tail lsp-bridge--internal-hooks)) (while tail (let ((hook (car tail))) (apply #'add-hook hook) (setq tail (cdr tail))))) (advice-add #'acm-hide :after #'lsp-bridge--completion-hide-advisor))
  lsp-bridge--enable()
  (if lsp-bridge-mode (lsp-bridge--enable) (lsp-bridge--disable))
  (let ((last-message (current-message))) (setq lsp-bridge-mode (cond ((eq arg 'toggle) (not lsp-bridge-mode)) ((and (numberp arg) (< arg 1)) nil) (t t))) (if (boundp 'local-minor-modes) (progn (setq local-minor-modes (delq 'lsp-bridge-mode local-minor-modes)) (if lsp-bridge-mode (progn (setq local-minor-modes (cons 'lsp-bridge-mode local-minor-modes)))))) (if lsp-bridge-mode (lsp-bridge--enable) (lsp-bridge--disable)) (run-hooks 'lsp-bridge-mode-hook (if lsp-bridge-mode 'lsp-bridge-mode-on-hook 'lsp-bridge-mode-off-hook)) (if (called-interactively-p 'any) (progn nil (if (and (current-message) (not (equal last-message (current-message)))) nil (let ((local " in current buffer")) (message "%s %sabled%s" "Lsp-Bridge mode" (if lsp-bridge-mode "en" "dis") local))))))
  lsp-bridge-mode(1)
  (progn (lsp-bridge-mode 1))
  (if (and (lsp-bridge--not-mind-wave-chat-buffer) (lsp-bridge--not-acm-doc-markdown-buffer)) (progn (lsp-bridge-mode 1)))
  (closure (t) nil (if (and (lsp-bridge--not-mind-wave-chat-buffer) (lsp-bridge--not-acm-doc-markdown-buffer)) (progn (lsp-bridge-mode 1))))()
  run-hooks(change-major-mode-after-body-hook text-mode-hook outline-mode-hook org-mode-hook)
  apply(run-hooks change-major-mode-after-body-hook (text-mode-hook outline-mode-hook org-mode-hook))
  run-mode-hooks(org-mode-hook)
  org-mode()
  treemacs-edit-workspaces()
  funcall-interactively(treemacs-edit-workspaces)
  command-execute(treemacs-edit-workspaces)

Instead of a wrong-type-argument stringp I'm getting a wrong-type-argument arrayp error.

from lsp-bridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.