diff options
Diffstat (limited to 'src/nvim/api/private/helpers.c')
-rw-r--r-- | src/nvim/api/private/helpers.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/nvim/api/private/helpers.c b/src/nvim/api/private/helpers.c index f1259c8a18..745681c3f8 100644 --- a/src/nvim/api/private/helpers.c +++ b/src/nvim/api/private/helpers.c @@ -1410,15 +1410,6 @@ ArrayOf(Dictionary) keymap_array(String mode, buf_T *buf) return mappings; } -// Is the Namespace in use? -bool ns_initialized(uint64_t ns) -{ - if (ns < 1) { - return false; - } - return ns < (uint64_t)next_namespace_id; -} - /// Gets the line and column of an extmark. /// /// Extmarks may be queried by position, name or even special names @@ -1607,18 +1598,6 @@ free_exit: return hl_msg; } -const char *describe_ns(NS ns_id) -{ - String name; - handle_T id; - map_foreach(&namespace_ids, name, id, { - if ((NS)id == ns_id && name.size) { - return name.data; - } - }) - return "(UNKNOWN PLUGIN)"; -} - bool api_dict_to_keydict(void *rv, field_hash hashy, Dictionary dict, Error *err) { for (size_t i = 0; i < dict.size; i++) { |