Skip to content

Use builtin path manipulation functions #601

Description

@kkanden

hi,
i've often encountered issues with incorrect windows path handling and in the codebase i see many functions to handle them (and sometimes are inconsistently used, e.g. as fixed in #599). neovim has builtin vim.uv and vim.fs (specifically vim.fs.normalize, which on windows and mingw change backward slashes to forward slashes) functions which ensure compatibility on all platforms and allow us to not reinvent the wheel ;)

if this is something of interest, i could write up a PR to change path handling to builtin equivalents (or improvements) wherever it makes sense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions