caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] merlin Atom integration
@ 2016-08-31  1:09 Robert Muller
  2016-08-31 13:21 ` Pieter Goetschalckx
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Muller @ 2016-08-31  1:09 UTC (permalink / raw)
  To: Ocaml Mailing List

[-- Attachment #1: Type: text/plain, Size: 641 bytes --]

Hello, I'm hoping some knowledgeable person can save me a few hours digging
in coffeescript. I'm considering using the github's Atom editor with the
ocaml-merlin package and with the REPL package. Following the way it works
in Emacs, we'd like to have one buffer/pane for the source code and another
for the REPL. The former should be in ocaml-merlin mode but the latter
shouldn't --- we don't want merlin attempting to parse the various textual
items (prompts, etc) that appear in the REPL pane.  But this is what seems
to be the default behavior.
Anyone know of a simple fix? We can manually disable merlin but this is too
much hassle.
RM

[-- Attachment #2: Type: text/html, Size: 716 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] merlin Atom integration
  2016-08-31  1:09 [Caml-list] merlin Atom integration Robert Muller
@ 2016-08-31 13:21 ` Pieter Goetschalckx
  0 siblings, 0 replies; 2+ messages in thread
From: Pieter Goetschalckx @ 2016-08-31 13:21 UTC (permalink / raw)
  To: Robert Muller, Ocaml Mailing List

[-- Attachment #1: Type: text/plain, Size: 982 bytes --]

The problem is that the repl package sets the grammar to "OCaml". I created
a new grammar "OCaml Toplevel" (
https://github.com/toroidal-code/language-ocaml/pull/24) which can be used
by repl (https://github.com/314eter/REPL-Nodejs).

Op wo 31 aug. 2016 om 03:10 schreef Robert Muller <robert.muller2@gmail.com
>:

> Hello, I'm hoping some knowledgeable person can save me a few hours
> digging in coffeescript. I'm considering using the github's Atom editor
> with the ocaml-merlin package and with the REPL package. Following the way
> it works in Emacs, we'd like to have one buffer/pane for the source code
> and another for the REPL. The former should be in ocaml-merlin mode but the
> latter shouldn't --- we don't want merlin attempting to parse the various
> textual items (prompts, etc) that appear in the REPL pane.  But this is
> what seems to be the default behavior.
> Anyone know of a simple fix? We can manually disable merlin but this is
> too much hassle.
>
> RM
>

[-- Attachment #2: Type: text/html, Size: 1579 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-31 13:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-31  1:09 [Caml-list] merlin Atom integration Robert Muller
2016-08-31 13:21 ` Pieter Goetschalckx

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).