Commit dd8899f
committed
Fix prelude-ocaml: hook into neocaml-base-mode, enable LSP properly
Three issues:
- Hooked into neocaml-mode instead of neocaml-base-mode, so .mli
files didn't get the configuration.
- Called ocaml-eglot-setup (just registers hooks) instead of
enabling the ocaml-eglot minor mode (keybindings + hooks).
- Never called prelude-lsp-enable, so the LSP server was not
started.1 parent 0ce9778 commit dd8899f
1 file changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| 50 | + | |
| 51 | + | |
49 | 52 | | |
50 | 53 | | |
51 | | - | |
| 54 | + | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| |||
0 commit comments