neopyter icon indicating copy to clipboard operation
neopyter copied to clipboard

load query failed: The query textobjects don't exists in c:\res\queries\python ...

Open ilovevim opened this issue 10 months ago • 2 comments

The cause is weird, the function utils.get_plugin_path() returns "C:\". I traced further and find that although __dirname__ is correct ("C:/Users/luocm/AppData/Local/nvim-data/lazy/neopyter/lua/neopyter/"), but Path:new(__dirname__):parent() returns "C:\".

My platform is Win10, Neovide 0.14.1, NVIM v0.10.4

Image Image

ilovevim avatar Mar 18 '25 03:03 ilovevim

@AbaoFromCUG

ilovevim avatar Mar 18 '25 04:03 ilovevim

Windows path issue

fixed

AbaoFromCUG avatar Mar 18 '25 13:03 AbaoFromCUG