Skip to content

vim.str_utfindex is deprecated #2180

@KobKobson

Description

@KobKobson

FAQ

  • I have checked the FAQ and it didn't resolve my problem.

Announcement

Minimal reproducible full config

Does not depend on config.

Description

Installed version: v0.0.2
Message in :checkhealth vim.deprecated:

  • ⚠️ WARNING vim.str_utfindex is deprecated. Feature will be removed in Nvim 1.0
    • ADVICE:
      • use vim.str_utfindex(s, encoding, index, strict_indexing) instead.

Steps to reproduce

Install latest version of plugin, call :checkhealth vim.deprecated.

Expected behavior

No error message.

Actual behavior

Deprecation message.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions