Am Mittwoch, 25. Oktober 2006 18:12 schrieb Tim Chase:
for my font plug in I need to know which OS I am running on to
choose an appropriate font. Now when Sun Solaris where added
to the list of OS I use I run into a little problem: there is
only has('unix') - but that's not good enough
-separated list of font-names. Thus, you could have it try
something like
if has('unix')
set guifont=AntialiasedFontILike,FallbackFont
Tony has a common bit of useful script that he drops on the list
occasionally when this topic comes up (which you can find at
http
: there is
only has('unix') - but that's not good enough as Linux
allows for anti alias fonts and Sun Solaris does not.
Perhaps something like
if has('unix')
let os = system('uname')
if os ~= 'Linux'
do linuxy stuff here
can take a comma-separated list
of font-names. Thus, you could have it try something like
if has('unix')
set guifont=AntialiasedFontILike,FallbackFont
Tony has a common bit of useful script that he drops on the list
occasionally when this topic comes up (which you can find at
http
, the 'guifont' option can take a comma-separated
list of font-names. Thus, you could have it try something like
if has('unix')
set guifont=AntialiasedFontILike,FallbackFont
Tony has a common bit of useful script that he drops on the list
occasionally when this topic comes up (which you
: there is
only has('unix') - but that's not good enough as Linux
allows for anti alias fonts and Sun Solaris does not.
Perhaps something like
if has('unix')
let os = system('uname')
if os ~= 'Linux'
do linuxy stuff here
problem: there is
only has('unix') - but that's not good enough as Linux
allows for anti alias fonts and Sun Solaris does not.
Perhaps something like
if has('unix')
let os = system('uname')
if os ~= 'Linux'
do linuxy stuff here
Hello,
for my font plug in I need to know which OS I am running on to choose an
appropriate font. Now when Sun Solaris where added to the list of OS I use I
run into a little problem: there is only has('unix') - but that's not good
enough as Linux allows for anti alias fonts and Sun Solaris
for my font plug in I need to know which OS I am running on to
choose an appropriate font. Now when Sun Solaris where added
to the list of OS I use I run into a little problem: there is
only has('unix') - but that's not good enough as Linux
allows for anti alias fonts and Sun Solaris does
On śro paź 25 2006, vim@vim.org wrote:
Hello,
for my font plug in I need to know which OS I am running on to choose an
appropriate font. Now when Sun Solaris where added to the list of OS I
use I run into a little problem: there is only has('unix') - but
that's not good enough as Linux
10 matches
Mail list logo