rust output panel has no syntax highlighting #365
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/cp.nvim#365
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The output/run panel does not apply syntax highlighting for Rust source files. Other languages with treesitter grammars available suffer the same issue if the panel uses a fixed filetype.
Solution
Set the buffer filetype in the output panel to match the current language's extension so treesitter highlighting applies correctly.