IRC Syntax
IRC log file syntax highlighting for Sublime Text.
Details
Installs
- Total 100
- Win 49
- Mac 25
- Linux 26
| Jun 13 | Jun 12 | Jun 11 | Jun 10 | Jun 9 | Jun 8 | Jun 7 | Jun 6 | Jun 5 | Jun 4 | Jun 3 | Jun 2 | Jun 1 | May 31 | May 30 | May 29 | May 28 | May 27 | May 26 | May 25 | May 24 | May 23 | May 22 | May 21 | May 20 | May 19 | May 18 | May 17 | May 16 | May 15 | May 14 | May 13 | May 12 | May 11 | May 10 | May 9 | May 8 | May 7 | May 6 | May 5 | May 4 | May 3 | May 2 | May 1 | Apr 30 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
| Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
sublime-irc
IRC log file syntax highlighting for Sublime Text.
Supported Formats
- irssi —
-!-event markers, unbracketed timestamps - weechat —
-->,<--,--event markers, tab-separated fields - HexChat —
*event markers, named-month timestamps (Mar 27 12:34:56) - mIRC —
*event markers, bracketed timestamps ([12:34]) - ZNC —
***event markers,Joins:/Parts:/Quits:keywords
Highlighted Elements
- Timestamps — bracketed, unbracketed, ISO datetime, named-month, parenthesized
- Chat messages —
<nick>with prefix support (@,+,%,~,&) - Events — join, quit, part, kick, mode, nick change, topic change, user info
- Inline content — URLs (
http,https,ftp,irc,ircs,ssh,magnet,mailto), channels (#,&), hostmasks, virtual hosts - Log markers —
--- Log opened/closed,Session Start/Close,**** BEGIN/END LOGGING
IRC log files are auto-detected when possible via content matching.
Preview
irssi formatted logs with Sublime Text's default Monokai color scheme:

Installation
With Package Control
- Install Package Control
Install IRC Syntax package
Platform Install Command macOS Cmd + Shift + P → Package Control: Install Package → IRC Syntax Linux/Windows Ctrl + Shift + P → Package Control: Install Package → IRC Syntax IRC log files are auto-detected. If not, select 'IRC' from
View → Syntax.
Without Package Control
Locate your Sublime Text “Packages” directory and navigate to it
Platform Installation Path Linux ~/.config/sublime-text/Packages/macOS ~/Library/Application\ Support/Sublime\ Text/Packages/Windows %AppData%\Roaming\Sublime Text\PackagesClone this repository into
IRC Syntaxdirectorygit clone https://github.com/barnumbirr/sublime-irc.git 'IRC Syntax'
Configuration
Uniquely colored nicknames
Navigate to Preferences → Customize Color Scheme and add the following to your
theme rules:
{
"name": "IRC Nickname",
"scope": "entity.name.tag.nickname.irc",
"foreground": ["#FF0000", "#00FF00", "#0000FF"]
}
These foreground colors should be readable in most themes.
License:
Copyright 2021-2026 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.
Buy me a coffee?
If you feel like buying me a coffee (or a beer?), donations are welcome:
BTC : bc1qq04jnuqqavpccfptmddqjkg7cuspy3new4sxq9
DOGE: DRBkryyau5CMxpBzVmrBAjK6dVdMZSBsuS
ETH : 0x2238A11856428b72E80D70Be8666729497059d95
LTC : MQwXsBrArLRHQzwQZAjJPNrxGS1uNDDKX6