Comments (7)
I guess you just need add target mode in lsp-bridge-default-mode-hooks ?
from lsp-bridge.
I can not find a good hook for fundamental modes, and generic-x modes. I am now live with following code snip:
(require 'lsp-bridge)
(define-globalized-minor-mode lsp-bridge-global-mode lsp-bridge-mode lsp-bridge-mode-on)
(defun lsp-bridge-mode-on ()
(interactive)
(when (and (lsp-bridge--not-mind-wave-chat-buffer)
(lsp-bridge--not-acm-doc-markdown-buffer))
(lsp-bridge-mode 1)))
(lsp-bridge-global-mode t)
from lsp-bridge.
After this change, I got lsp-bridge-mode enabled every where. But when there's a mode that have a predefined language-server failed to started. Tabnine will not work either.
e.g. Say I opened a file with .sh extsion, and lsp-bridge will try to launch bash-language-server
. But I don't have it, then lsp-bridge will be disabled. And I can not get completion from Tabnine in this file.
from lsp-bridge.
I will write some code in this weekend with Chinese time. ;)
from lsp-bridge.
Hi @fktpp2022
I just commit 64f3ad3 , can you update to newest version and try?
You can enable lsp-bridge-mode in any mode, and turn on option acm-enable-tabnine
, TabNine and other non-lsp backend still can works even lsp server command not install.
from lsp-bridge.
Please re-open this issue if newest version still have problem.
from lsp-bridge.
I have to say, it works great!!!
from lsp-bridge.
Related Issues (20)
- 请教如果想在其他地方使用补全怎么实现 HOT 1
- How can i make it work with emacs-direnv? HOT 1
- org-mode source block, manually complete not work , although auto pop up menu completion working HOT 11
- Orderless causes (wrong-type-argument stringp (seq (group 100))) HOT 1
- psearch-replace 导致 wrong-type-argument lsp-bridge-epc-manager nil ? HOT 2
- 执行 lsp-bridge-workspace-list-symbols 报错 HOT 4
- LSP Tailwind fails HOT 10
- Using it in terminal HOT 1
- Is it possible to use ACM with Orderless component separator like in Corfu? HOT 1
- lsp-bridge-workspace-list-symbols 查询结果集,如果是以 jdt:// 开始,无法正常跳转 HOT 7
- 补全消失 HOT 39
- (redisplay t) is consuming lots of cpu HOT 1
- Question: lsp-bridge-workspace-list-symbols can find the symbol, but lsp-bridge-find-def does not HOT 4
- 在latex启动lsp-bridge-mode后只能补全yasnippet中的模板,不能连接latex lsp服务器 HOT 2
- lsp-bridge-find-def not working with remote HOT 5
- Inlay hints HOT 8
- outdated diagnostic HOT 4
- 能加入mojo支持吗? HOT 8
- enabling lsp-bridge breaks syntax highlighting HOT 3
- I found how to fix Tailwindcss HOT 30
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.