-
Notifications
You must be signed in to change notification settings - Fork 73
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
[Feature request] Add support for Makefile's #108
Comments
Done! Support added for treesitter backend. It's pretty basic, just enumerating all the rules. LMK if you think there's anything else that could be added. |
@stevearc this works great for me! Thank you for making this happen! 👍 |
@stevearc Btw, how do I customize the icon, or could you change the default one? (for Makefile only, other icons look beautiful). I'd like to set it to be like that in IDEA, which looks prettier, |
At the moment the symbol types are tied to the LSP spec, so I used 'Interface' (customized by |
Okay I wrote up an implementation that added a What I ended up doing instead was making the require('aerial').setup({
icons = {
Interface = 'I',
Function = 'F',
}
}) OR you can specify them on a per-filetype basis require('aerial').setup({
icons = {
markdown = {
Interface = 'I',
},
make = {
Interface = 'T',
},
['_'] = {
-- The underscore key is for any unmatched filetypes
},
}
}) This should allow you to customize the icons for any filetype as much as you want. |
Bravo!! 🎉🎉 (I customized the hightlight to use the blue color from 'Function') aerial.setup {
icons = {
markdown = {
Interface = "I",
},
make = {
Interface = "契",
},
["_"] = {
-- The underscore key is for any unmatched filetypes
},
},
}
vim.cmd([[
" customize highlight
hi link AerialInterfaceIcon Function
]]) Many thanks! @stevearc |
Is it possible to add support for Makefile's? (e.g. list all make targets). It would make it easier to navigate a large Makefile. (There seems to be no LSP for Makefile)
The text was updated successfully, but these errors were encountered: