diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-03-11 15:57:40 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-03-11 15:57:40 +0100 |
commit | 84f7235bdbcc58876869ba8047530ef60443061a (patch) | |
tree | 5092ec85f621ee24d84ba29eeebbbc29ce40aac4 /runtime/syntax/dnsmasq.vim | |
parent | 7c578d3c3f501c0dd86c48aad6816a6ce6e3fc77 (diff) | |
download | vim-84f7235bdbcc58876869ba8047530ef60443061a.zip |
Updated runtime files. Add Dutch translations.
Diffstat (limited to 'runtime/syntax/dnsmasq.vim')
-rw-r--r-- | runtime/syntax/dnsmasq.vim | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/runtime/syntax/dnsmasq.vim b/runtime/syntax/dnsmasq.vim index 8f3fe3f7a..dcc1a3c10 100644 --- a/runtime/syntax/dnsmasq.vim +++ b/runtime/syntax/dnsmasq.vim @@ -1,14 +1,19 @@ -" Vim syntax file -" Language: dnsmasq configuration file +" Vim file " Maintainer: Thilo Six <T.Six@gmx.de> -" Version: 2.59-1 -" Last Change: 2011 Dec 11 +" Version: 2.60-1 +" Last Change: 2012 Mar 10 " Modeline: vim: ts=8:sw=2:sts=2: +" File: runtime/syntax/dnsmasq.vim " " Credits: Igor N. Prischepoff " Doug Kearns " David Ne\v{c}as " +" License: VIM License +" see ":help copyright" +" +" Description: highlight dnsmasq configuration files +" " Options: You might want to add this to your vimrc: " " if &background == "dark" @@ -18,7 +23,6 @@ " let dnsmasq_backrgound_light = 1 " endif " -" " For version 5.x: Clear all syntax items " For version 6.x: Quit when a syntax file was already loaded @@ -28,11 +32,9 @@ elseif exists("b:current_syntax") || &compatible finish endif -" predictable environment: -let s:keepcpo = &cpo +let s:cpo_save = &cpo set cpo&vim - if !exists("b:dnsmasq_backrgound_light") if exists("dnsmasq_backrgound_light") let b:dnsmasq_backrgound_light = dnsmasq_backrgound_light @@ -106,6 +108,7 @@ syn match DnsmasqKeyword "^\s*dhcp-authoritative\>" syn match DnsmasqKeyword "^\s*dhcp-boot\>" syn match DnsmasqKeyword "^\s*dhcp-broadcast\>" syn match DnsmasqKeyword "^\s*dhcp-circuitid\>" +syn match DnsmasqKeyword "^\s*dhcp-client-update\>" syn match DnsmasqKeyword "^\s*dhcp-fqdn\>" syn match DnsmasqKeyword "^\s*dhcp-generate-names\>" syn match DnsmasqKeyword "^\s*dhcp-host\>" @@ -114,6 +117,7 @@ syn match DnsmasqKeyword "^\s*dhcp-ignore\>" syn match DnsmasqKeyword "^\s*dhcp-ignore-names\>" syn match DnsmasqKeyword "^\s*dhcp-lease-max\>" syn match DnsmasqKeyword "^\s*dhcp-leasefile\>" +syn match DnsmasqKeyword "^\s*dhcp-luascript\>" syn match DnsmasqKeyword "^\s*dhcp-mac\>" syn match DnsmasqKeyword "^\s*dhcp-match\>" syn match DnsmasqKeyword "^\s*dhcp-no-override\>" @@ -134,6 +138,7 @@ syn match DnsmasqKeyword "^\s*domain\>" syn match DnsmasqKeyword "^\s*domain-needed\>" syn match DnsmasqKeyword "^\s*edns-packet-max\>" syn match DnsmasqKeyword "^\s*enable-dbus\>" +syn match DnsmasqKeyword "^\s*enable-ra\>" syn match DnsmasqKeyword "^\s*enable-tftp\>" syn match DnsmasqKeyword "^\s*except-interface\>" syn match DnsmasqKeyword "^\s*expand-hosts\>" @@ -145,9 +150,9 @@ syn match DnsmasqKeyword "^\s*keep-in-foreground\>" syn match DnsmasqKeyword "^\s*leasefile-ro\>" syn match DnsmasqKeyword "^\s*listen-address\>" syn match DnsmasqKeyword "^\s*local\>" +syn match DnsmasqKeyword "^\s*localmx\>" syn match DnsmasqKeyword "^\s*local-ttl\>" syn match DnsmasqKeyword "^\s*localise-queries\>" -syn match DnsmasqKeyword "^\s*localmx\>" syn match DnsmasqKeyword "^\s*log-async\>" syn match DnsmasqKeyword "^\s*log-dhcp\>" syn match DnsmasqKeyword "^\s*log-facility\>" @@ -217,6 +222,6 @@ hi def link DnsmasqValues Normal let b:current_syntax = "dnsmasq" -let &cpo = s:keepcpo -unlet s:keepcpo +let &cpo = s:cpo_save +unlet s:cpo_save |