Skip to content
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

Added aerial queries for objdump #320

Merged
merged 4 commits into from
Oct 31, 2023

Conversation

ColinKennedy
Copy link
Contributor

Now that neovim/neovim#23608 and nvim-treesitter/nvim-treesitter@0179a89 merged, objdump files are recognized in Neovim with tree-sitter support. Adding to aerial.nvim as well.

aerial nvim_objdump_demo

Since objdump files aren't really code, I wasn't sure what the preferred header would be. So I just chose "Interface" and "Function". Open to suggestions, there.

Copy link
Owner

@stevearc stevearc left a comment

Choose a reason for hiding this comment

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

Interface & function sound fine to me; since the LSP symbol concepts don't really map to this use case it's somewhat arbitrary.

To make the tests pass you'll need to make sure the objdump file gets detected with the correct filetype, and you'll need to add a symbols snapshot file. See this comment for more info #316 (comment)

Added objdump to minimal_init.lua
@ColinKennedy
Copy link
Contributor Author

Thank you for the tip. It should be working now!

@stevearc
Copy link
Owner

Thanks for the PR!

@stevearc stevearc merged commit eb301a4 into stevearc:master Oct 31, 2023
7 checks passed
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.

None yet

2 participants