Loading ...
Sorry, an error occurred while loading the content.

Re: ftplugin/man.vim

Expand Messages
  • Pavol Juhas
    Hello, After seeing Olivier s patch, I have one more suggestion for ftplugin/man.vim, which tries to avoid the calls to system() function. This should speed up
    Message 1 of 2 , Nov 17, 2003
    • 0 Attachment
      Hello,

      After seeing Olivier's patch, I have one more suggestion for
      ftplugin/man.vim, which tries to avoid the calls to system() function.
      This should speed up the sourcing of ftplugin/man.vim, particularly on
      cygwin systems.

      HTH,

      Pavol


      --- man.vim 2003-11-06 13:07:30.000000000 -0500
      +++ man_patch.vim 2003-11-17 15:41:53.000000000 -0500
      @@ -41,7 +41,7 @@

      let s:man_tag_depth = 0

      -if system('uname -s') =~ "SunOS" && system('uname -r') =~ "^5"
      +if !has("win32") && $OSTYPE !~ 'cygwin\|linux' && system('uname -sr') =~ 'SunOS.*\<5'
      let s:man_sect_arg = "-s"
      let s:man_find_arg = "-l"
      else
    Your message has been successfully submitted and would be delivered to recipients shortly.