-
Notifications
You must be signed in to change notification settings - Fork 28
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
feat(inlay): show virtual variable text #211
feat(inlay): show virtual variable text #211
Conversation
1046928
to
c788803
Compare
This assumes people using TS. I would like to have this optional. I can look into some refactoring for that. |
lua/kulala/inlay/init.lua
Outdated
|
||
local variables = vim.tbl_extend( | ||
"force", | ||
TS.get_document_variables(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Treesitter is still optional for Kulala users.
lua/kulala/inlay/init.lua
Outdated
vim.api.nvim_create_augroup(VV_GROUP_NAME, { clear = true }) | ||
vim.api.nvim_create_autocmd({ "BufEnter", "TextChanged", "TextChangedI" }, { | ||
group = VV_GROUP_NAME, | ||
pattern = "*.http", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think 🤔 we might also include *.rest here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
has done
about this #209