Skip to content

Commit

Permalink
feat: neo-tree nesting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
snelling-a committed May 20, 2023
1 parent 840b46f commit a4cd2c9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lua/plugins/neo-tree.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,12 @@ M.opts = {
},
},
},
},
nesting_rules = {
["ts"] = { "spec.ts", "spec.tsx", "stories.tsx", "stories.mdx" },
["tsx"] = { "spec.ts", "spec.tsx", "stories.tsx", "stories.mdx" },
["js"] = { "d.ts" },
["jsx"] = { "d.ts" },
},
},
},
}
Expand Down

0 comments on commit a4cd2c9

Please sign in to comment.