(vim) Split the ocaml filetype into several filetypes#1340
Merged
voodoos merged 1 commit intoocaml:masterfrom Jan 29, 2024
Merged
(vim) Split the ocaml filetype into several filetypes#1340voodoos merged 1 commit intoocaml:masterfrom
voodoos merged 1 commit intoocaml:masterfrom
Conversation
10 tasks
b60b10d to
d2cf766
Compare
3d3fe95 to
d24acb0
Compare
d24acb0 to
a325109
Compare
d2e0927 to
39c2520
Compare
Contributor
Perhaps it should be included in another PR, so that users of those plugins can test it. Besides that, this looks like a pretty safe change (the old filetypes are still recognized), and I would like to gently nudge for this to get merged. It's required so that progress on ocaml/vim-ocaml#61 can be made. |
Collaborator
|
@undu thanks for that contribution, and sorry about the long answer delay. Would you have some time to test or remove the "untested ctrlp and neomake code" ? |
Contributor
Author
|
Sure, I'll remove the code later today |
Now ocamlinterface ocamllex and menhir types must be taken into account as well. Menhir filetype is not included as there seem to be no plans to include it and even then it would take a big effort. The filetypes are introduced by ocaml/vim-ocaml#61
Collaborator
|
Thank you @undu ! |
voodoos
added a commit
to voodoos/merlin
that referenced
this pull request
Feb 20, 2024
from undu/ocaml_interface
voodoos
added a commit
to voodoos/opam-repository
that referenced
this pull request
Feb 22, 2024
CHANGES:
Thu Feb 22 14:00:42 CET 2024
+ merlin binary
- Add a "heap_mbytes" field to Merlin server responses to report heap usage (ocaml/merlin#1717)
- Add cache stats to telemetry (ocaml/merlin#1711)
- Add new SyntaxDocument command to find information about the node under the cursor (ocaml/merlin#1706)
- Fix `FLG -pp ppx.exe -as-pp/-dump-ast` use of invalid shell redirection when
direct process launch on Windows. (ocaml/merlin#1723, fixes ocaml/merlin#1722)
- Add a query_num field to the `ocamlmerlin` responses to detect server crashes (ocaml/merlin#1716)
- Jump to cases within a match statement (ocaml/merlin#1726)
- Jump to `module-type` (ocaml/merlin#1728, partially fixes ocaml/merlin#1656)
- Exposes stable functions for configuration handling and pattern variable
destruction. (ocaml/merlin#1730)
+ editor modes
- vim: load merlin under the ocamlinterface and ocamllex filetypes (ocaml/merlin#1340)
- Fix merlinpp not using binary file open (ocaml/merlin#1725, fixes ocaml/merlin#1724)
voodoos
added a commit
to voodoos/opam-repository
that referenced
this pull request
Feb 22, 2024
CHANGES:
Thu Feb 22 14:00:42 CET 2024
+ merlin binary
- Add a "heap_mbytes" field to Merlin server responses to report heap usage (ocaml/merlin#1717)
- Add cache stats to telemetry (ocaml/merlin#1711)
- Add new SyntaxDocument command to find information about the node under the cursor (ocaml/merlin#1706)
- Fix `FLG -pp ppx.exe -as-pp/-dump-ast` use of invalid shell redirection when
direct process launch on Windows. (ocaml/merlin#1723, fixes ocaml/merlin#1722)
- Add a query_num field to the `ocamlmerlin` responses to detect server crashes (ocaml/merlin#1716)
- Jump to cases within a match statement (ocaml/merlin#1726)
- Jump to `module-type` (ocaml/merlin#1728, partially fixes ocaml/merlin#1656)
- Exposes stable functions for configuration handling and pattern variable
destruction. (ocaml/merlin#1730)
+ editor modes
- vim: load merlin under the ocamlinterface and ocamllex filetypes (ocaml/merlin#1340)
- Fix merlinpp not using binary file open (ocaml/merlin#1725, fixes ocaml/merlin#1724)
voodoos
added a commit
to voodoos/opam-repository
that referenced
this pull request
Feb 22, 2024
CHANGES:
Thu Feb 22 14:00:42 CET 2024
+ merlin binary
- Add a "heap_mbytes" field to Merlin server responses to report heap usage (ocaml/merlin#1717)
- Add cache stats to telemetry (ocaml/merlin#1711)
- Add new SyntaxDocument command to find information about the node under the cursor (ocaml/merlin#1706)
- Fix `FLG -pp ppx.exe -as-pp/-dump-ast` use of invalid shell redirection when
direct process launch on Windows. (ocaml/merlin#1723, fixes ocaml/merlin#1722)
- Add a query_num field to the `ocamlmerlin` responses to detect server crashes (ocaml/merlin#1716)
- Jump to cases within a match statement (ocaml/merlin#1726)
- Jump to `module-type` (ocaml/merlin#1728, partially fixes ocaml/merlin#1656)
- Exposes stable functions for configuration handling and pattern variable
destruction. (ocaml/merlin#1730)
+ editor modes
- vim: load merlin under the ocamlinterface and ocamllex filetypes (ocaml/merlin#1340)
- Fix merlinpp not using binary file open (ocaml/merlin#1725, fixes ocaml/merlin#1724)
voodoos
added a commit
to voodoos/opam-repository
that referenced
this pull request
Feb 22, 2024
CHANGES:
Thu Feb 22 14:00:42 CET 2024
+ merlin binary
- Add a "heap_mbytes" field to Merlin server responses to report heap usage (ocaml/merlin#1717)
- Add cache stats to telemetry (ocaml/merlin#1711)
- Add new SyntaxDocument command to find information about the node under the cursor (ocaml/merlin#1706)
- Fix `FLG -pp ppx.exe -as-pp/-dump-ast` use of invalid shell redirection when
direct process launch on Windows. (ocaml/merlin#1723, fixes ocaml/merlin#1722)
- Add a query_num field to the `ocamlmerlin` responses to detect server crashes (ocaml/merlin#1716)
- Jump to cases within a match statement (ocaml/merlin#1726)
- Jump to `module-type` (ocaml/merlin#1728, partially fixes ocaml/merlin#1656)
- Exposes stable functions for configuration handling and pattern variable
destruction. (ocaml/merlin#1730)
+ editor modes
- vim: load merlin under the ocamlinterface and ocamllex filetypes (ocaml/merlin#1340)
- Fix merlinpp not using binary file open (ocaml/merlin#1725, fixes ocaml/merlin#1724)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Now ocamlinterface ocamllex and menhir types must be taken into account as well.
The filetypes are introduced by ocaml/vim-ocaml#61
This is a draft PR to attract comments and suggestions on how to adapt the code to the change, Merlin loads under the new filetypes and syntastic works as well, ctrlp and neomake code is untested.