Skip to content

feat(api): add api.config.mappings.default_on_attach #2037

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 5, 2023

Conversation

alex-courtis
Copy link
Member

Add api.config.mappings.default_on_attach and documentation.

Tidy function definitions, fix update_help bug with duplicate opts.

local M = {}

-- stylua: ignore start
function M.default_on_attach(bufnr)
-- BEGIN_DEFAULT_ON_ATTACH
local opts = function(desc)
local api = require('nvim-tree.api')
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

avoid possible circular dependencies

@alex-courtis alex-courtis merged commit bbb6d48 into master Mar 5, 2023
@alex-courtis alex-courtis deleted the 2024-expose-default_on_attach branch March 5, 2023 23:46
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.

2 participants