merlin
merlin copied to clipboard
Context sensitive completion for OCaml in Vim and Emacs
Using `The Merlin toolkit version 38c13ee8, for Ocaml 4.13.0` (4.3.2~4.13preview), I had a crash under emacs inspecting twice the type of the `r` parameter in https://github.com/MisterDA/opam-health-check/blob/repro-crash-merlin/server/backend/check.ml#L32. ``` (unit, Capnp_rpc.Exception.t) Result.result...
In the following example: ```ocaml type t = C of int type record = { field : t; other : bool; } let f () = let field = 42...
Given the following OCaml code: ```ocaml let arg = () in f ~arg ``` Renaming the `let` binding to `foo` with Merlin results in the following: ```ocaml let foo =...
type enclosing with verbosity=1
This PR implements completion based on language grammar (this complements the existing completion based on semantic information). Here is a rough explanation of the algorithm, taken from the `Syntactic_completion` module:...
Whilst benchmarking short-paths a few years ago, I found it useful to be able to control which socket ocamlmerlin used. It let me open several merlin servers in parallel without...
This MR tries to fix #1023 . When a file starts with `#!` it is now parsed with `Parser_raw.Incremental.use_file` instead of the usual `Parser_raw.Incremental.implementation`. In the first patch, all the...
See the first commit which adds a test for a case where build path config is being reconfigured. I found this edge case by checking if merlin refreshes diagnostics if...
Copyright line is now " Copyright (C) 2013 - 2019 Merlin contributors". IANAL, I have no idea what I am doing.
Here is the part of my config related to merlin: ``` ;; autocomplete (require 'auto-complete) (define-key ac-mode-map (kbd "M-TAB") 'auto-complete) ;; Merlin (let ((opam-share (ignore-errors (car (process-lines "opam" "var" "share")))))...