-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add support for tmux #1882
Add support for tmux #1882
Conversation
Will run fmt shortly. |
I am almost ready to push an update. I love this project. It is so cool. |
Latest work has been pushed. |
Looking at the raw log of the regression tests this is what I see: 2021-10-06T04:25:43.0189536Z === Error: Could not highlight source file '/home/runner/work/bat/bat/tests/syntax-tests/source/DotENV/.env ^ I am new to rust but it seems like I need to wrap the Error in Err here: https://github.com/sharkdp/bat/pull/1882/files#diff-0a104d0fbbdd3652151d2d31956b1fbcbc2b2c14163d02395d765a82aff299abR194. Going to try that to fix the failing regression tests. If I am incorrect and there is something else I introduced please let me know. |
Thanks for the update! I don’t have time to deep dive into the code right now, but I glanced it over, and have these spontaneous comments:
|
Absolutely. I don't mind. I will work on that soon. Thank you! |
Moved the implementation of MapToUnknownExtension to a different MR: #1889 |
Add #![deny(unsafe_code)] back
Please let me know if there is anything else I can do in order to get this accepted and merged. Thank you! |
Let’s wait with this one until the generic solution is in place |
|
||
Close Sublime Text then download or clone this repository to a directory named `Tmux` in the Sublime Text Packages directory for your platform: | ||
|
||
* Linux: `git clone https://github.com/gerardroche/sublime-tmux.git ~/.config/sublime-text-3/Packages/Tmux` |
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.
* Linux: `git clone https://github.com/gerardroche/sublime-tmux.git ~/.config/sublime-text-3/Packages/Tmux` | |
* Linux: | |
```bash | |
git clone https://github.com/gerardroche/sublime-tmux.git ~/.config/sublime-text-3/Packages/Tmux | |
``` |
Close Sublime Text then download or clone this repository to a directory named `Tmux` in the Sublime Text Packages directory for your platform: | ||
|
||
* Linux: `git clone https://github.com/gerardroche/sublime-tmux.git ~/.config/sublime-text-3/Packages/Tmux` | ||
* OSX: `git clone https://github.com/gerardroche/sublime-tmux.git ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/Tmux` |
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.
"OSX" is the older systems. Apple uses "macOS" for their newer systems.
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.
Looks like the sub module is not actually added like a sub module like the other syntaxes?
Also, how many downloads does this syntax have on package control?
Looks like tmux is quite far from 10k? This PR was more of a stepping stone to #1889 I suppose. Big thanks again for that already legendary PR btw 🙂 I think we can go ahead and close this PR though. |
Adds support for Tmux.