From 0f4eb7b98abe27c83a638e00cfd8a69a5ca27661 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Min=C4=91ek?= Date: Thu, 21 Dec 2023 09:06:37 +0100 Subject: [PATCH] Add nonempty_binary and nonempty_bitstring (#1454) Added types were introduced in OTP24, but since macro FEATURE_AVAILABLE (introduced in OTP25) is available, I think those types should be too. --- apps/els_lsp/src/els_completion_provider.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/els_lsp/src/els_completion_provider.erl b/apps/els_lsp/src/els_completion_provider.erl index 043bfb01f..a72675db0 100644 --- a/apps/els_lsp/src/els_completion_provider.erl +++ b/apps/els_lsp/src/els_completion_provider.erl @@ -996,6 +996,8 @@ bifs(type_definition, ItemFormat) -> {'nil', 0}, {'no_return', 0}, {'node', 0}, + {'nonempty_binary', 0}, + {'nonempty_bitstring', 0}, {'nonempty_improper_list', 2}, {'nonempty_list', 1}, {'non_neg_integer', 0},