Skip to content

tabstop reset from 8 to 2 for Makefiles #600

Closed
@mjturner

Description

@mjturner

Does this bug happen when you install plugin without vim-polyglot?
N/A. Removing vim-polyglot results in tabstop not being reset.

Describe the bug:
I have tabstop set to 8 in ~/.vim/ftplugin/make.vim but it is being reset to 2 by vim-polyglot.

capture_2020-10-22_03-30-44_pm

The stanza in question in polyglot.vim does the following:

if &tabstop == 8
    let &l:tabstop = 2
endif

To Reproduce:

  1. Install vim-polyglot
  2. Set tabstop to 8. I have this in ~/.vim/ftplugin/make.vim, but doing so in vimrc will probably have the same effect.
  3. Edit an existing Makefile containing tabs. tabstop has been reset from 8 to 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions