Comments (4)
OCaml may be missing from the syntaxes entry (which also filters LSP functionality)?
from lsp.
Here's the log on a Reason file:
LSP: notify: textDocument/didSave
LSP: got json: ...
For OCaml:
LSP: document not tracked path/to/test.ml
Here's some quirky behavior:
- Restart ST
- See the diagnose on for the OCaml file for the first time
- Fix the error, see that diagnosis is stale and doesn't refresh
- Close & reopen file
- Get the same message as above
from lsp.
First, let's check what syntax OCaml uses with sublime.active_window().active_view().settings().get("syntax")
We may want to provide configuration for ocaml separate from reason. With this configuration, the language server starts up when opening ocaml files:
"ocaml":
{
"command": ["ocaml-language-server", "--stdio"],
"scopes": ["source.ocaml"],
"syntaxes": ["Packages/OCaml/OCaml.sublime-syntax"],
"languageId": "ocaml"
}
Can you confirm if that configuration works? Then we should update the settings and documentation for ocaml users who don't use reason.
from lsp.
Aaah yes, that indeed worked! Submitted a PR.
from lsp.
Related Issues (20)
- rust-analyzer.triggerParameterHints failed. Reason: unknown request (-32601) HOT 6
- Godot v4.2 Editor language server default remote port is 6005 not 6008
- ⚠️ DOWNTIME Notice: LSP and LSP-* are migrating to Python 3.8 ⚠️
- Capabilites with selector fails to register
- ModuleNotFoundError: No module named 'wcmatch.glob' HOT 13
- Prepare for upgrade of bracex and wcmatch libraries HOT 6
- [Runtime Error] ModuleNotFoundError: No module named 'wcmatch' HOT 1
- Investigate why didSave notification is not sent if view closed immediately after saving
- Two alternative hover definitions provided: one on mouseover, the other upon keyboard shortcut HOT 6
- Not Working After 3.8 Upgrade HOT 3
- Discuss removal of some APIs HOT 3
- Allow LSP packages to customize format_completion
- Support list of commands, provided by language servers HOT 5
- Syntax highlighting in popups, returned by 3rd party language server, not work HOT 9
- Package is not installable HOT 5
- MissingUriError: View has no URI HOT 1
- `websocket_server` installs a root logger
- Cannot install LSP on clean installation HOT 15
- Updated to LSP 2.1.0 leads to FileNotFoundError and no LSP HOT 4
- `lsp_code_actions_on_save` do not work intermittently HOT 1
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.