Comments (5)
texlab seems to work for me now under AUCtex, but lsp-grammarly does not. Perhaps this is related to this issue?
from lsp-mode.
auctex modes are still not working for me in lsp-mode, but i've been using this hack as a workaround:
(maphash (lambda (k v)
(let ((mode-list (lsp--client-major-modes v))
(tex-mode-list '(tex-mode latex-mode))
(auctex-mode-list '(TeX-mode LaTeX-mode)))
(when (and (equal k 'texlab2)
(cl-intersection mode-list tex-mode-list))
(progn
(dolist (mode auctex-mode-list)
(setf (lsp--client-major-modes v)
(cl-pushnew mode mode-list)))
(add-to-list 'lsp-language-id-configuration '(\`mode . "latex"))))))
lsp-clients)
from lsp-mode.
I still get this error even if I add the code from above LSP :: The following servers support current file but do not have automatic installation: texlab2
from lsp-mode.
I add LaTeX-mode to the lsp-register-client in the file lsp-tex.el ad it seems to work. I'm not elisp expert so probably my correction is trivial and perhaps not sufficient. Hope that someone more expert than me could fix it in the new version.
(lsp-register-client
(make-lsp-client :new-connection (lsp-stdio-connection lsp-clients-texlab-executable)
:major-modes '(plain-tex-mode latex-mode LaTeX-mode)
:priority (if (eq lsp-tex-server 'texlab) 1 -1)
:server-id 'texlab))
from lsp-mode.
This is still a problem here. I think we only need to add LaTeX-mode
to the lsp-language-id-configuration
.
from lsp-mode.
Related Issues (20)
- lsp-cucumber.el compilation warnings HOT 1
- Create a new tag. HOT 8
- Completions disappear after dot + symbol HOT 1
- Random regressions due to lsp overriding user settings via `lsp-register-custom-settings` HOT 1
- LSP-clangd repeatedly crash after loading pytorch source code HOT 1
- User-facing way to modify `:activation-fn` or `:major-modes`, and `initialization-options` of an existing LSP client.
- lsp-interface generates a lot of noise in pcase documentation
- Getting indent level on web-mode
- No tool tips in the mode-line when lsp-mode is enabled HOT 1
- rust types displayed in minibuffer are truncated HOT 2
- Zig's ZLS download URLs have changed HOT 1
- Volar/Vue: how to get autocompletions in javascript, HTML & CSS in vue files? HOT 2
- Support `ruff server` HOT 2
- Ctrl-x 1 not working anymore in org mode?
- Wrong server selected HOT 4
- Detect if LSP_USE_PLIST is not set before loading lsp-mode (server starting...)
- Update clangd to 18
- lsp--path-to-uri: Symbol’s function definition is void: -compose HOT 3
- Angular-ls returns no result HOT 1
- Unable to calculate the languageId for buffer ‘Foo.qml’. Take a look at ‘lsp-language-id-configuration’. The ‘major-mode’ is qml-mode
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-mode.