| 
									
										
										
										
											2012-06-01 22:38:45 +02:00
										 |  |  | " Vim syntax file | 
					
						
							|  |  |  | " Maintainer:	Thilo Six | 
					
						
							|  |  |  | " Contact:	<vim-dev at vim dot org> | 
					
						
							|  |  |  | "		http://www.vim.org/maillist.php#vim-dev | 
					
						
							|  |  |  | " | 
					
						
							|  |  |  | " Description:	highlight dnsmasq configuration files | 
					
						
							| 
									
										
										
										
											2012-03-11 15:57:40 +01:00
										 |  |  | " File:		runtime/syntax/dnsmasq.vim | 
					
						
							| 
									
										
										
										
											2012-06-01 22:38:45 +02:00
										 |  |  | " Version:	2.61-1 | 
					
						
							|  |  |  | " Last Change:	2012 May 19 | 
					
						
							|  |  |  | " Modeline:	vim: ts=8:sw=2:sts=2: | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | " | 
					
						
							|  |  |  | " Credits:	Igor N. Prischepoff | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | "		Doug Kearns | 
					
						
							|  |  |  | "		David Ne\v{c}as | 
					
						
							| 
									
										
										
										
											2012-06-01 22:38:45 +02:00
										 |  |  | "		Christian Brabandt | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | " | 
					
						
							| 
									
										
										
										
											2012-03-11 15:57:40 +01:00
										 |  |  | " License:	VIM License | 
					
						
							| 
									
										
										
										
											2012-06-01 22:38:45 +02:00
										 |  |  | "		Vim is Charityware, see ":help Uganda" | 
					
						
							| 
									
										
										
										
											2012-03-11 15:57:40 +01:00
										 |  |  | " | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | " Options:	You might want to add this to your vimrc: | 
					
						
							|  |  |  | " | 
					
						
							|  |  |  | "		if &background == "dark" | 
					
						
							|  |  |  | "		  " dnsmasq.vim | 
					
						
							|  |  |  | "		    let dnsmasq_backrgound_light = 0 | 
					
						
							|  |  |  | "		else | 
					
						
							|  |  |  | "		    let dnsmasq_backrgound_light = 1 | 
					
						
							|  |  |  | "		endif | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | " | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | " For version 5.x: Clear all syntax items | 
					
						
							|  |  |  | " For version 6.x: Quit when a syntax file was already loaded | 
					
						
							|  |  |  | if version < 600 | 
					
						
							|  |  |  |     syntax clear | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | elseif exists("b:current_syntax") || &compatible | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  |     finish | 
					
						
							|  |  |  | endif | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-03-11 15:57:40 +01:00
										 |  |  | let s:cpo_save = &cpo | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | set cpo&vim | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | if !exists("b:dnsmasq_backrgound_light") | 
					
						
							|  |  |  | 	if exists("dnsmasq_backrgound_light") | 
					
						
							|  |  |  | 		let b:dnsmasq_backrgound_light = dnsmasq_backrgound_light | 
					
						
							|  |  |  | 	else | 
					
						
							|  |  |  | 		let b:dnsmasq_backrgound_light = 0 | 
					
						
							|  |  |  | 	endif | 
					
						
							|  |  |  | endif | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | " case on | 
					
						
							|  |  |  | syn case match | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | syn match   DnsmasqValues   "=.*"hs=s+1 contains=DnsmasqComment,DnsmasqSpecial | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match   DnsmasqSpecial  display '=\|@\|,\|!\|:'	  nextgroup=DnsmasqValues | 
					
						
							|  |  |  | syn match   DnsmasqSpecial  "#" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-06-01 22:38:45 +02:00
										 |  |  | syn match   DnsmasqIPv4	    "\<\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{3\}\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>"	nextgroup=DnsmasqSubnet2,DnsmasqRange | 
					
						
							|  |  |  | syn match   DnsmasqSubnet   "\<255.\(\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\.\)\{2\}\(25\_[0-5]\|2\_[0-4]\_[0-9]\|\_[01]\?\_[0-9]\_[0-9]\?\)\>" | 
					
						
							|  |  |  | syn match   DnsmasqSubnet2  contained "\/\([0-4]\?[0-9]\)\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match   DnsmasqRange    contained "-" | 
					
						
							|  |  |  | syn match   DnsmasqMac	    "\<\(\x\x\?:\)\{5}\x\x\?" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match   DnsmasqTime	    "\<\(\d\{1,3}\)[hm]\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | " String | 
					
						
							| 
									
										
										
										
											2012-06-01 22:38:45 +02:00
										 |  |  | syn match   DnsmasqString   "\".*\""  contains=@Spell | 
					
						
							|  |  |  | syn match   DnsmasqString   "'.*'"    contains=@Spell | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | " Comments | 
					
						
							| 
									
										
										
										
											2011-07-18 19:40:27 +02:00
										 |  |  | syn keyword DnsmasqTodo	    FIXME TODO XXX NOTE contained | 
					
						
							| 
									
										
										
										
											2012-06-01 22:38:45 +02:00
										 |  |  | syn match   DnsmasqComment  "\(^\|\s\+\)#.*$"   contains=@Spell,DnsmasqTodo | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | " highlight trailing spaces | 
					
						
							|  |  |  | syn match   DnsmasqTrailSpace	   "[ \t]\+$" | 
					
						
							|  |  |  | syn match   DnsmasqTrailSpace	   "[ \t]\+$" containedin=ALL | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeywordSpecial    "\<set\>:"me=e-1 | 
					
						
							|  |  |  | syn match DnsmasqKeywordSpecial    "\<tag\>:"me=e-1 | 
					
						
							|  |  |  | syn match DnsmasqKeywordSpecial    ",\<static\>"hs=s+1	  contains=DnsmasqSpecial | 
					
						
							|  |  |  | syn match DnsmasqKeywordSpecial    ",\<infinite\>"hs=s+1  contains=DnsmasqSpecial | 
					
						
							|  |  |  | syn match DnsmasqKeywordSpecial    "\<encap\>:"me=e-1 | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeywordSpecial    "\<interface\>:"me=e-1 | 
					
						
							|  |  |  | syn match DnsmasqKeywordSpecial    "\<vi-encap\>:"me=e-1 | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeywordSpecial    "\<net\>:"me=e-1 | 
					
						
							|  |  |  | syn match DnsmasqKeywordSpecial    "\<vendor\>:"me=e-1 | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeywordSpecial    "\<opt\>:"me=e-1 | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeywordSpecial    "\<option\>:"me=e-1 | 
					
						
							|  |  |  | syn match DnsmasqKeywordSpecial    ",\<ignore\>"hs=s+1	  contains=DnsmasqSpecial | 
					
						
							|  |  |  | syn match DnsmasqKeywordSpecial    "\<id\>:"me=e-1 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*add-mac\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*addn-hosts\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*address\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*alias\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*all-servers\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*bind-interfaces\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*bogus-nxdomain\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*bogus-priv\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*bootp-dynamic\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*bridge-interface\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*cache-size\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*clear-on-reload\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*cname\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*conf-dir\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*conf-file\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*conntrack\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*dhcp-alternate-port\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-authoritative\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-boot\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-broadcast\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*dhcp-circuitid\>" | 
					
						
							| 
									
										
										
										
											2012-03-11 15:57:40 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-client-update\>" | 
					
						
							| 
									
										
										
										
											2012-06-01 22:38:45 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-duid\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-fqdn\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-generate-names\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-host\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-hostsfile\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-ignore\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-ignore-names\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-lease-max\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*dhcp-leasefile\>" | 
					
						
							| 
									
										
										
										
											2012-03-11 15:57:40 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-luascript\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-mac\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*dhcp-match\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-no-override\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-option\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-option-force\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*dhcp-optsfile\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*dhcp-proxy\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-range\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-remoteid\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-script\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-scriptuser\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-sequential-ip\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*dhcp-subscrid\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dhcp-userclass\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*dhcp-vendorclass\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*dns-forward-max\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*domain\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*domain-needed\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*edns-packet-max\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*enable-dbus\>" | 
					
						
							| 
									
										
										
										
											2012-03-11 15:57:40 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*enable-ra\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*enable-tftp\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*except-interface\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*expand-hosts\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*filterwin2k\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*group\>" | 
					
						
							| 
									
										
										
										
											2012-06-01 22:38:45 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*host-record\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*interface\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*interface-name\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*keep-in-foreground\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*leasefile-ro\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*listen-address\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*local\>" | 
					
						
							| 
									
										
										
										
											2012-03-11 15:57:40 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*localmx\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*local-ttl\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*localise-queries\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*log-async\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*log-dhcp\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*log-facility\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*log-queries\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*max-ttl\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*min-port\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*mx-host\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*mx-target\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*naptr-record\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*neg-ttl\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*no-daemon\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*no-dhcp-interface\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*no-hosts\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*no-negcache\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*no-ping\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*no-poll\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*no-resolv\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*pid-file\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*port\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*proxy-dnssec\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*ptr-record\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*pxe-prompt\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*pxe-service\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*query-port\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*read-ethers\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*rebind-domain-ok\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*rebind-localhost-ok\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*resolv-file\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*selfmx\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*server\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*srv-host\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*stop-dns-rebind\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*strict-order\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*tag-if\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*test\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*tftp-max\>" | 
					
						
							| 
									
										
										
										
											2012-06-01 22:38:45 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*tftp-lowercase\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*tftp-no-blocksize\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*tftp-port-range\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*tftp-root\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*tftp-secure\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*tftp-unique-root\>" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | syn match DnsmasqKeyword    "^\s*txt-record\>" | 
					
						
							|  |  |  | syn match DnsmasqKeyword    "^\s*user\>" | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | syn match DnsmasqKeyword    "^\s*version\>" | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | if b:dnsmasq_backrgound_light == 1 | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  |     hi def DnsmasqKeyword	ctermfg=DarkGreen guifg=DarkGreen | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | else | 
					
						
							|  |  |  |     hi def link DnsmasqKeyword  Keyword | 
					
						
							|  |  |  | endif | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | hi def link DnsmasqKeywordSpecial Type | 
					
						
							|  |  |  | hi def link DnsmasqTodo		Todo | 
					
						
							|  |  |  | hi def link DnsmasqSpecial	Constant | 
					
						
							|  |  |  | hi def link DnsmasqIPv4		Identifier | 
					
						
							|  |  |  | hi def link DnsmasqSubnet2	DnsmasqSubnet | 
					
						
							|  |  |  | hi def link DnsmasqSubnet	DnsmasqMac | 
					
						
							|  |  |  | hi def link DnsmasqRange	DnsmasqMac | 
					
						
							|  |  |  | hi def link DnsmasqMac		Preproc | 
					
						
							|  |  |  | hi def link DnsmasqTime		Preproc | 
					
						
							|  |  |  | hi def link DnsmasqComment	Comment | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | hi def link DnsmasqTrailSpace	DiffDelete | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | hi def link DnsmasqString	Constant | 
					
						
							|  |  |  | hi def link DnsmasqValues	Normal | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | let b:current_syntax = "dnsmasq" | 
					
						
							| 
									
										
										
										
											2011-05-19 12:22:51 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-03-11 15:57:40 +01:00
										 |  |  | let &cpo = s:cpo_save | 
					
						
							|  |  |  | unlet s:cpo_save | 
					
						
							| 
									
										
										
										
											2011-12-14 21:17:39 +01:00
										 |  |  | 
 |