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 | |
parent | 7c578d3c3f501c0dd86c48aad6816a6ce6e3fc77 (diff) |
Updated runtime files. Add Dutch translations.
Diffstat (limited to 'runtime/syntax')
-rw-r--r-- | runtime/syntax/dnsmasq.vim | 27 | ||||
-rw-r--r-- | runtime/syntax/lout.vim | 20 | ||||
-rw-r--r-- | runtime/syntax/sshconfig.vim | 2 |
3 files changed, 34 insertions, 15 deletions
diff --git a/runtime/syntax/dnsmasq.vim b/runtime/syntax/dnsmasq.vim index 8f3fe3f7a2..dcc1a3c10e 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 diff --git a/runtime/syntax/lout.vim b/runtime/syntax/lout.vim index 2a0a72c5b9..9a34328ac3 100644 --- a/runtime/syntax/lout.vim +++ b/runtime/syntax/lout.vim @@ -1,13 +1,21 @@ " Vim syntax file " Language: Lout " Maintainer: Christian V. J. Brüssow <cvjb@cvjb.de> -" Last Change: Son 22 Jun 2003 20:43:26 CEST +" Last Change: So 12 Feb 2012 15:15:03 CET " Filenames: *.lout,*.lt -" URL: http://www.cvjb.de/comp/vim/lout.vim -" $Id: lout.vim,v 1.1 2004/06/13 17:52:18 vimboss Exp $ +" URL: http://www.cvjb.de/comp/vim/lout.vim + +" $Id: lout.vim,v 1.4 2012/02/12 15:16:17 bruessow Exp $ " " Lout: Basser Lout document formatting system. +" Many Thanks to... +" +" 2012-02-12: +" Thilo Six <T.Six at gmx dot de> send a patch for cpoptions. +" See the discussion at http://thread.gmane.org/gmane.editors.vim.devel/32151 + + " For version 5.x: Clear all syntax items " For version 6.x: Quit when a syntax file was already loaded if version < 600 @@ -16,6 +24,9 @@ elseif exists("b:current_syntax") finish endif +let s:cpo_save=&cpo +set cpo&vim + " Lout is case sensitive syn case match @@ -136,4 +147,7 @@ endif let b:current_syntax = "lout" +let &cpo=s:cpo_save +unlet s:cpo_save + " vim:ts=8:sw=4:nocindent:smartindent: diff --git a/runtime/syntax/sshconfig.vim b/runtime/syntax/sshconfig.vim index 15e3b01700..6d4de6c64e 100644 --- a/runtime/syntax/sshconfig.vim +++ b/runtime/syntax/sshconfig.vim @@ -2,7 +2,7 @@ " Language: OpenSSH client configuration file (ssh_config) " Author: David Necas (Yeti) " Maintainer: Leonard Ehrenfried <leonard.ehrenfried@web.de> -" Last Change: 2012 Feb 19 +" Last Change: 2012 Feb 24 " SSH Version: 5.9p1 " |