IRC log file syntax highlighting for Sublime Text.
#debian on irc.oftc.net and #ubuntu on irc.libera.chat using Sublime Text's default Monokai color scheme:
-
Install IRC Syntax package
Platform Install Command OS X Cmd + Shift + P → Package Control: Install Package → IRC Syntax Linux/Windows Ctrl + Shift + P → Package Control: Install Package → IRC Syntax -
Reopen all IRC log files and select the 'IRC' syntax from the menu.
-
Locate your Sublime Text "Packages" directory and navigate to it
Platform Installation Path Linux ~/.config/sublime-text-3/Packages/OSX ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/Windows %AppData%\Roaming\Sublime Text 3\Packages -
Clone this repository into
IRC Syntaxdirectory
$ git clone git://github.com/barnumbirr/sublime-irc.git 'IRC Syntax'Navigate to Preferences → Customize Color Scheme and add the following to your
theme rules:
{
"name": "IRC Nickname",
"scope": "string.unquoted.username.irc",
"foreground": ["#7F00FF", "#FF0000"]
},These foreground colors should be readable in most themes.
Copyright 2021 Martin Simon
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
If you feel like buying me a coffee (or a beer?), donations are welcome:
BTC : bc1qq04jnuqqavpccfptmddqjkg7cuspy3new4sxq9
DOGE: DRBkryyau5CMxpBzVmrBAjK6dVdMZSBsuS
ETH : 0x2238A11856428b72E80D70Be8666729497059d95
LTC : MQwXsBrArLRHQzwQZAjJPNrxGS1uNDDKX6

