dotfiles

<-- duh.
git clone https://hhvn.uk/dotfiles
git clone git://hhvn.uk/dotfiles
Log | Files | Refs | Submodules | LICENSE

irssi.vim (2349B)


      1 " Vim syntax file
      2 " Language:	irssi script
      3 " Maintainer:	isundill <isundill@gmail.com>
      4 " Created:	2015 Oct 02
      5 " Last Change:	2015 Oct 05
      6 
      7 if exists("b:current_syntax")
      8   finish
      9 endif
     10 
     11 syn case ignore
     12 " Comments
     13 syn match m_comment /#.*/ contains=m_todo
     14 syn keyword m_todo TODO NOTE contained
     15 " `)` or `}` not followed by `;`
     16 " -- syn match m_error /[})][^ \t]*[^;])/
     17 " Keywords & Statements
     18 syn keyword irssi_keywords servers chatnets channels settings aliases statusbar logs hilights ignores
     19 syn region irssi_category start="=[ \t]*(" end=")" fold transparent contains=irssi_servers,irssi_chatnets,irssi_channels,irssi_statusbar,irssi_settings,value_def,m_error,irssi_highlight
     20 syn region irssi_category start="=[ \t]*{" end="}" fold transparent contains=irssi_servers,irssi_chatnets,irssi_channels,irssi_statusbar,irssi_settings,value_def,m_error,irssi_highlight
     21 syn keyword irssi_servers address chatnet port autoconnect use_ssl ssl_verify
     22 syn keyword irssi_chatnets type chat_type tag max_kicks max_msgs max_whois aliases statusbar contained
     23 syn keyword irssi_channels name chatnet autojoin username realname autosendcmd contained
     24 syn keyword irssi_statusbar items barstart barend topicbarstart topicbarend time user window window_empty
     25 syn keyword irssi_statusbar more placement position visible window_inact prompt lag act disabled
     26 syn keyword irssi_statusbar prompt_empty topic topic_empty default input alignment
     27 syn keyword irssi_statusbar barend topicbarstart topicbaren priority contained
     28 syn keyword irssi_settings core real_name user_name nick fe-text actlist_sort recode_autodetect_utf8 recode log_timestamp timestamp_format contained
     29 syn keyword irssi_settings hide_colors theme term_charset window_history autolog_path autolog bell_beeps beep_when_away beep_msg_level screen_away_message colors contained
     30 syn keyword irssi_highlight text nick word contained
     31 syn region value_def start='"' end='"' skip="\\\"" oneline
     32 
     33 " Set colors
     34 hi def link m_comment Comment
     35 hi def link m_todo Todo
     36 hi def link irssi_keywords Keyword
     37 hi def link irssi_servers Statement
     38 hi def link irssi_chatnets Statement
     39 hi def link irssi_channels Statement
     40 hi def link irssi_statusbar Statement
     41 hi def link irssi_settings Statement
     42 hi def link irssi_highlight Statement
     43 hi def link m_error Error
     44 hi def link value_def Constant
     45 
     46 let b:current_syntax = "irssi"
     47