Skip to content

Conversation

@dk949
Copy link

@dk949 dk949 commented Jun 1, 2025

The pre_open hook can now return a table which will be merged with the
user's default config for the current file being edited.

This allows per file name/type configuration provided appropriate data
is passed via the guest_data hook.

If pre_open returns nil, behaviour is unchanged.

Closes #111

dk949 added 2 commits June 1, 2025 15:12
The `pre_open` hook can now return a table which will be merged with the
user's default config for the current file being edited.

This allows per file name/type configuration provided appropriate data
is passed via the `guest_data` hook.

If `pre_open` returns `nil`, behaviour is unchanged.
dk949 added a commit to dk949/nvim that referenced this pull request Jun 14, 2025
TODO: switch back to main repo if/when <willothy/flatten.nvim#113> is merged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Option to set window.open for each individual file being opened, not once globally

1 participant