saifulapm / neotree-file-nesting-config

MIT License
18 stars 0 forks source link

.editorconfig break simple python project #1

Closed JMarkin closed 4 months ago

JMarkin commented 4 months ago

Hello, If I created templated python project by poetry new ttt and create .editorconfig file it breaks neotree [ERROR Thu Jun 13 10:31:20 2024] ...are/nvim/lazy/neo-tree.nvim/lua/neo-tree/ui/renderer.lua:1200: Error setting nodes: ...on/.local/share/nvim/lazy/nui.nvim/lua/nui/tree/init.lua:36: duplicate node id/private/tmp/ttt/.editorconfig [ERROR Thu Jun 13 10:31:20 2024] ...are/nvim/lazy/neo-tree.nvim/lua/neo-tree/ui/renderer.lua:1201: {} Without .editorconfig it works.

I use your config from readme.

Step to reproduce

  1. poetry new ttt
  2. cd ttt && touch .editorconfig
  3. open Neotree in ttt directory

EDITED

I found your generated ['pyproject.toml'] rules has many duplicates

saifulapm commented 4 months ago

Thanks for reporting @JMarkin.