fix(fyler-nvim): update config for fyler v2 rewrite#1776
Conversation
fyler.nvim's 2026-06-14 rewrite (1bb18a0 "refactor!: Rewrite the whole
plugin") replaced the nested `views.finder.*` config with a flat schema
and renamed the window kind preset `float` to `floating`.
The current spec calls `toggle { kind = "float" }`, which no longer
resolves to a preset, so opening fyler errors with:
after the second argument: expected table, got nil
(`config.get_config` -> `vim.tbl_deep_extend('force', M.DATA,
M.DATA.kind_presets["float"] --[[nil]], ...)`).
Migrate to the v2 schema:
- `views.finder.default_explorer` -> `use_as_default_explorer`
- `views.finder.win.kind` -> top-level `kind`
- `views.finder.win.border` -> `kind_presets.floating.border`
- keymap `kind = "float"` -> `kind = "floating"`
`views.finder.indentscope.markers` has no v2 equivalent (the rewrite
replaced the custom indent marker with a boolean `ui.indent_guides`), so
the custom glyph is intentionally dropped in favour of `indent_guides`.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Review ChecklistDoes this PR follow the [Contribution Guidelines](development guidelines)? Following is a partial checklist: Proper conventional commit scoping:
|
Description
NOTE: yes I used Claude Code to create this PR but I tested it successfully.
fyler.nvim's 2026-06-14 rewrite (
1bb18a0"refactor!: Rewrite the whole plugin") replaced the nestedviews.finder.*config with a flat schema and renamed the window kind presetfloat→floating. The current spec callstoggle { kind = "float" }, which no longer resolves to a preset, so opening fyler on the latest version errors with:(
config.get_config→vim.tbl_deep_extend('force', M.DATA, M.DATA.kind_presets["float"] --[[nil]], ...))Migration
views.finder.*)default_exploreruse_as_default_explorerwin.kindkindwin.borderkind_presets.floating.borderkind = "float"kind = "floating"views.finder.indentscope.markershas no v2 equivalent (the rewrite replaced the custom indent marker with a booleanui.indent_guides), so the custom glyph is intentionally dropped in favour ofindent_guides.Verification
Tested against fyler
a588c75(v2):kind=floating border=rounded use_as_default_explorer=true indent_guides=trueandtoggle { kind = "floating" }opens without error