From e191bc253da823cc6b3ca4d66139089e8ae5404e Mon Sep 17 00:00:00 2001 From: Badlop Date: Thu, 1 Dec 2022 12:42:44 +0100 Subject: [PATCH] Add Erlang LS default configuration --- erlang_ls.config | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 erlang_ls.config diff --git a/erlang_ls.config b/erlang_ls.config new file mode 100644 index 000000000..74c892a8d --- /dev/null +++ b/erlang_ls.config @@ -0,0 +1,32 @@ +otp_path: "/usr/lib/erlang" +plt_path: "_build/default/rebar3_24.3.3_plt" +#code_reload: +# node: ejabberd@localhost +apps_dirs: + - "_build/default/lib/*" +deps_dirs: + - "_build/default/lib/*" +include_dirs: + - "_build/default/lib" + - "_build/default/lib/*/include" + - "include" +macros: + - name: DEPRECATED_GET_STACKTRACE + - name: HAVE_ERL_ERROR + - name: HAVE_URI_STRING + - name: OTP_BELOW_25 + - name: SIP + - name: STUN +diagnostics: +# enabled: +# - crossref + disabled: +# - dialyzer + - unused_includes # Otherwise it complains about unused logger.hrl +lenses: + disabled: + - ct-run-test + - function-references + - server-info + - show-behaviour-usages + - suggest-spec