Hello

-- <snip> --
>> I notice it doesn't get recognized, becaues the pattern for the filetype
>> is */etc/dnsmasq.conf.  I think it will be ok to just match
>> "dnsmasq.conf".
> 
> No "dnsmasq.conf" will get you false positives.
> 
> # find /etc -iname 'dnsmasq.conf'
> /etc/dbus-1/system.d/dnsmasq.conf
> /etc/dnsmasq.conf

I think for the purpose at hand a modeline will do. attached.

-- 
Regards,
Thilo

4096R/0xC70B1A8F
721B 1BA0 095C 1ABA 3FC6  7C18 89A4 A2A0 C70B 1A8F

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


# vim: ft=dnsmasq:
# comment
domain-needed
bogus-priv
filterwin2k
resolv-file=
strict-order
no-resolv
no-poll
server=/localnet/192.168.0.1
server=/3.168.192.in-addr.arpa/10.1.2.3
local=/localnet/
address=/double-click.net/127.0.0.1
address=/www.thekelleys.org.uk/fe80::20d:60ff:fe36:f83
server=10.1.2.3@eth1
server=10.1.2.3@192.168.1.1#55 # inline comment
user=foo
group=bar
interface=baz
except-interface=
listen-address=
no-dhcp-interface=
bind-interfaces
no-hosts
addn-hosts=/etc/banner_add_hosts
expand-hosts
domain=thekelleys.org.uk
domain=wireless.thekelleys.org.uk,192.168.2.0/24
domain=reserved.thekelleys.org.uk,192.68.3.100,192.168.3.200
dhcp-range=192.168.0.50,192.168.0.150,12h
dhcp-range=192.168.0.50,192.168.0.150,255.255.255.0,12h
dhcp-range=set:red,192.168.0.50,192.168.0.150
dhcp-range=tag:green,192.168.0.50,192.168.0.150,12h
dhcp-range=192.168.0.0,static
dhcp-range=1234::2, 1234::500, 64, 12h
dhcp-range=1234::, ra-only
dhcp-range=1234::, ra-only, 48h
dhcp-host=11:22:33:44:55:66,192.168.0.60
dhcp-host=11:22:33:44:55:66,fred
dhcp-host=11:22:33:44:55:66,fred,192.168.0.60,45m
dhcp-host=11:22:33:44:55:66,12:34:56:78:90:12,192.168.0.60
dhcp-host=bert,192.168.0.70,infinite
dhcp-host=id:01:02:02:04,192.168.0.60
dhcp-host=id:marjorie,192.168.0.60
dhcp-host=judge
dhcp-host=11:22:33:44:55:66,ignore
dhcp-host=11:22:33:44:55:66,id:*
dhcp-host=11:22:33:44:55:66,set:red
dhcp-host=11:22:33:*:*:*,set:red
dhcp-host=id:00:01:00:01:16:d2:83:fc:92:d4:19:e2:d8:b2, fred, [1234::5]
dhcp-ignore=tag:!known
dhcp-vendorclass=set:red,Linux
dhcp-userclass=set:red,accounts
dhcp-mac=set:red,00:60:8C:*:*:*
read-ethers
dhcp-option=3,1.2.3.4
dhcp-option=option:router,1.2.3.4
dhcp-option=3
dhcp-option=option:ntp-server,192.168.0.4,10.10.0.5
dhcp-option=option6:dns-server,[1234::77],[1234::88]
dhcp-option=option6:dns-server,[::],[1234::88]
dhcp-option=42,0.0.0.0
dhcp-option=40,welly
dhcp-option=23,50
dhcp-option=27,1
dhcp-option=128,e4:45:74:68:00:00
dhcp-option=129,NIC=eepro100
dhcp-option = tag:red, option:ntp-server, 192.168.1.1
dhcp-option=19,0           # option ip-forwarding off
dhcp-option=44,0.0.0.0     # set netbios-over-TCP/IP nameserver(s) aka WINS 
server(s)
dhcp-option=45,0.0.0.0     # netbios datagram distribution server
dhcp-option=46,8           # netbios node type
dhcp-option=252,"\n"
dhcp-option=option:domain-search,eng.apple.com,marketing.apple.com
dhcp-option=121,192.168.1.0/24,1.2.3.4,10.0.0.0/8,5.6.7.8
dhcp-option=vendor:PXEClient,1,0.0.0.0
dhcp-option=vendor:MSFT,2,1i
dhcp-option=vendor:Etherboot,60,"Etherboot"
dhcp-option-force=208,f1:00:74:7e
dhcp-option-force=209,configs/common
dhcp-option-force=210,/tftpboot/pxelinux/files/
dhcp-option-force=211,30i
dhcp-boot=pxelinux.0
dhcp-boot=pxelinux,server.name,192.168.1.100
dhcp-match=set:gpxe,175 # gPXE sends a 175 option.
dhcp-boot=tag:!gpxe,undionly.kpxe
dhcp-boot=mybootimage
dhcp-option=encap:175, 1, 5b         # priority code
dhcp-option=encap:175, 176, 1b       # no-proxydhcp
dhcp-option=encap:175, 177, string   # bus-id
dhcp-option=encap:175, 189, 1b       # BIOS drive code
dhcp-option=encap:175, 190, user     # iSCSI username
dhcp-option=encap:175, 191, pass     # iSCSI password
dhcp-match=peecees, option:client-arch, 0 #x86-32
dhcp-match=itanics, option:client-arch, 2 #IA64
dhcp-match=hammers, option:client-arch, 6 #x86-64
dhcp-match=mactels, option:client-arch, 7 #EFI x86-64
pxe-prompt="What system shall I netboot?"
pxe-prompt="Press F8 for menu.", 60
pxe-service=x86PC, "Boot from local disk"
pxe-service=x86PC, "Install Linux", pxelinux
pxe-service=x86PC, "Install Linux", pxelinux, 1.2.3.4
pxe-service=x86PC, "Install windows from RIS server", 1
pxe-service=x86PC, "Install windows from RIS server", 1, 1.2.3.4
enable-tftp
tftp-root=/var/ftpd
tftp-secure
tftp-no-blocksize
dhcp-boot=net:red,pxelinux.red-net
dhcp-boot=/var/ftpd/pxelinux.0,boothost,192.168.0.3
dhcp-boot=/var/ftpd/pxelinux.0,boothost,tftp_server_name
dhcp-lease-max=150
dhcp-leasefile=/var/lib/misc/dnsmasq.leases
dhcp-authoritative
dhcp-script=/bin/echo
cache-size=150
no-negcache
local-ttl=
bogus-nxdomain=64.94.110.11
alias=1.2.3.4,5.6.7.8
alias=1.2.3.0,5.6.7.0,255.255.255.0
alias=192.168.0.10-192.168.0.40,10.0.0.0,255.255.255.0
mx-host=maildomain.com,servermachine.com,50
mx-target=servermachine.com
localmx
selfmx
srv-host=_ldap._tcp.example.com,ldapserver.example.com,389
domain=example.com
srv-host=_ldap._tcp,ldapserver.example.com,389
srv-host=_ldap._tcp.example.com,ldapserver.example.com,389,1
srv-host=_ldap._tcp.example.com,ldapserver.example.com,389,2
srv-host=_ldap._tcp.example.com
ptr-record=_http._tcp.dns-sd-services,"New Employee 
Page._http._tcp.dns-sd-services"
txt-record=example.com,"v=spf1 a -all"
txt-record=_http._tcp.example.com,name=value,paper=A4
cname=bertand,bert
log-queries
log-dhcp
conf-file=/etc/dnsmasq.more.conf
conf-dir=/etc/dnsmasq.d

Raspunde prin e-mail lui