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

60296Re: 'list', :list, and 'listchars'

Expand Messages
  • Christian Brabandt
    Feb 1, 2011
      On Tue, February 1, 2011 2:14 pm, Bram Moolenaar wrote:
      > Christian Brabandt wrote:
      >> Here is a patch, that adds nbsp support to :list command. I leave out
      >> conceal, as I don't think this makes sense here:
      > That only works when 'enc' is a multi-byte encoding. It should also
      > work for latin1.
      >

      Upps forgotten. I somehow thought, this is only relevant for multibyte
      encodings. Here is an updated patch.

      > Please insert spaces around "=".

      Done.

      > You don't actually need the "ll" variable.

      I don't? But I need the width of the lcs_nbsp char for the output buffer
      and the width of the non-breaking char in the line to advance the pointer
      in the line.

      regards,
      Christian

      --
      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
    • Show all 5 messages in this topic