Skip to content

indent: When the indent marker is displayed it removes 'listchar' for tabs before it. #125

@cryptomilk

Description

@cryptomilk

Contributing guidelines

Module(s)

indent

Description

When the indent marker is displayed and you use:

vim.opt.listchars       = { tab     = '»·', }

Then the it will remove the listchar for indented code for more than one level.

ident_with_tab_listchar

Neovim version

0.7.2

Steps to reproduce

  1. In your config set:
vim.opt.listchars       = { tab     = '»·', }
  1. configure mini.nvim indent
  2. Open source code with tabs e.g. Samba source code

Expected behavior

The listchar should not be removed by the indent marker.

Actual behavior

The listchar is removed by the indent marker. See image above.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions