Comments (4)
I have push 1b3b50e
Please try again.
from lsp-bridge.
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.
I have push 287ad29
Can you update to newest version and try again? Thanks.
from lsp-bridge.
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)
- Supported python language servers not listed in docstring HOT 1
- rust-analyzer failed to find any projects
- Code format error in multi lsp server for python HOT 1
- acm补全窗口在退出insert state后仍然存在 HOT 2
- 希望可以增加配置标准库的tags文件 HOT 1
- Inlay hints enables itself automatically HOT 1
- lsp-bridge + gopls no result; log messages about missing icons? HOT 2
- Use file-local no-byte-compile and no-native-compile variables HOT 2
- Might emacs-lsp-booster offer additional performance improvements? HOT 7
- Auto-import broken for duplicate names HOT 10
- Duplicate, Using code actions freezes emacs HOT 5
- 使用remote server一段时间不使用之后 再使用时所有lsp操作都没有响应 HOT 5
- Support TabbyML HOT 1
- wrong-type-argument lsp-bridge-epc-manager nil HOT 5
- 在LaTeX中无法使用路径补全 HOT 3
- sql language server HOT 1
- Can't use copilot in temp buffer (such as fence-edit, or org-mode's src block editing) HOT 2
- C++ 补全snippet indent问题 HOT 8
- Dart 语言函数补全时缺少括号 HOT 1
- lsp-bridge-open-remote-file功能异常 HOT 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsp-bridge.