-
-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(editing-support): add nvim-ts-rainbow
- Loading branch information
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# nvim-ts-rainbow | ||
|
||
**Repository:** https://github.com/mrjones2014/nvim-ts-rainbow | ||
|
||
Rainbow parentheses for neovim using tree-sitter. |
5 changes: 5 additions & 0 deletions
5
lua/astrocommunity/editing-support/nvim-ts-rainbow/nvim-ts-rainbow.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
return { | ||
"nvim-treesitter/nvim-treesitter", | ||
dependencies = { "mrjones2014/nvim-ts-rainbow" }, | ||
opts = { rainbow = { enable = true } }, | ||
} |
a06a3bf
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.
Why not the better maintained hard fork: https://gitlab.com/HiPhish/nvim-ts-rainbow2?
a06a3bf
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.
Feel free to make a PR @szechp ! That would be a different plugin but all are welcome. This is just a repo for the community to contribute to freely :) this does not reflect any opinion of AstroNvim as a whole
a06a3bf
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 agree with the sentiment, but the readme of the repo itself recommends using the hard fork at the top.
a06a3bf
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.
Also, I think a workaround for this issue should be included: p00f/nvim-ts-rainbow#112.
Something like this perhaps:
I'm not very familiar with neovim events, so there might be a better way to do this.
a06a3bf
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.
Yeah I definitely would recommend someone add both of these things :)
a06a3bf
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.
Thanks for the recommendations @utkarshgupta137 !
a06a3bf
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 it should be added to this repo itself, would you like me to raise a PR?
a06a3bf
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.
Yeah definitely it should be added here :) a PR would be great! Everyone should be free to open PRs here since no one is actively developing this repository. It is only here for users to make PRs to. I will not be going and finding bugs/fixing bugs/adding new plugins/etc.
I will also not be testing the PRs made here. Like I said before and in the contribution guidelines, it is truly a repository here for the community to care for and maintain ❤️
a06a3bf
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.
just make sure @utkarshgupta137 to read the contribution guidelines and it would be great to add
astrocommunity.editing-support.nvim-ts-rainbow2
a06a3bf
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.
a06a3bf
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.
@szechp Just saw your comment. I've already raised a PR: #85. Let me know how I can improve it.