From 6b7824776f1a2c552d1b658a39e59975323d1628 Mon Sep 17 00:00:00 2001 From: Dillon Mulroy Date: Thu, 14 Mar 2024 21:08:31 -0400 Subject: [PATCH 1/3] update postinstall message --- ocp-indent.opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocp-indent.opam b/ocp-indent.opam index 531d0138..72f14df5 100644 --- a/ocp-indent.opam +++ b/ocp-indent.opam @@ -37,7 +37,7 @@ depends: [ "base-bytes" ] post-messages: [ - "This package requires additional configuration for use in editors. Install package 'user-setup', or manually: + "If you're not using ocaml-lsp-server and ocamlformat, this package requires additional configuration for use in editors. Install package 'user-setup', or manually: * for Emacs, add these lines to ~/.emacs: (add-to-list 'load-path \"%{share}%/emacs/site-lisp\") From cba6ebd6dbef958a84c40643a4fe1cb2d1cf9c22 Mon Sep 17 00:00:00 2001 From: Dillon Mulroy Date: Fri, 15 Mar 2024 06:21:12 -0400 Subject: [PATCH 2/3] Update ocp-indent.opam MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Nicolás Ojeda Bär --- ocp-indent.opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocp-indent.opam b/ocp-indent.opam index 72f14df5..256fa330 100644 --- a/ocp-indent.opam +++ b/ocp-indent.opam @@ -37,7 +37,7 @@ depends: [ "base-bytes" ] post-messages: [ - "If you're not using ocaml-lsp-server and ocamlformat, this package requires additional configuration for use in editors. Install package 'user-setup', or manually: + "This tool is an alternative to `ocamlformat`. It requires additional configuration for use in editors. Install package 'user-setup', or manually: * for Emacs, add these lines to ~/.emacs: (add-to-list 'load-path \"%{share}%/emacs/site-lisp\") From f90d025445a3550c5d41657037ee1377e5341e65 Mon Sep 17 00:00:00 2001 From: Dillon Mulroy Date: Wed, 3 Apr 2024 08:17:52 -0400 Subject: [PATCH 3/3] Update ocp-indent.opam --- ocp-indent.opam | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ocp-indent.opam b/ocp-indent.opam index 256fa330..cfc1a55b 100644 --- a/ocp-indent.opam +++ b/ocp-indent.opam @@ -37,7 +37,7 @@ depends: [ "base-bytes" ] post-messages: [ - "This tool is an alternative to `ocamlformat`. It requires additional configuration for use in editors. Install package 'user-setup', or manually: + "If you want to use `ocp-indent` from within Emacs or Vim directly, It requires additional configuration for use in editors. Install package 'user-setup', or manually: * for Emacs, add these lines to ~/.emacs: (add-to-list 'load-path \"%{share}%/emacs/site-lisp\") @@ -45,6 +45,8 @@ post-messages: [ * for Vim, add this line to ~/.vimrc: set rtp^=\"%{share}%/ocp-indent/vim\" + +* If you are seeing this message as a result of installing `ocamlformat`, you may ignore the above instructions and continue using your existing LSP and formatting configuration. " {success & !user-setup:installed} ]