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

15457stl function crashes vim

Expand Messages
  • Johannes Zellner
    Sep 30, 2000
      Hello,

      I've

      fun! KeyPressedHandler()
      if strpart(getline('.'), 0, col('.')) =~ '^\s*$'
      if '' != mapcheck('<tab>', 'i')
      iunmap <tab>
      endif
      elseif '' == mapcheck('<tab>', 'i')
      imap <tab> <c-p>
      endif
      return ''
      endfun
      set statusline=%{KeyPressedHandler()}%<[%n]%f%y%r%1*%m%*%w%=%(C\ %c%V%)%4(%)%-10(L\ %l(%L)%)%4(%)%p%%

      this crashes from time to time vim if I enter insert mode with 'i'.
      Unfortunately I cannot reproduce it with a debugging version, even
      if linked against efence :-(

      Maybe someone can reproduce it ? (vim-6.0h)


      --
      Johannes
    • Show all 5 messages in this topic