Skip to content

The plugin overrides my tab settings from 2 to 4 characters, how do I set this up? #673

Description

@psqlmaster

Good afternoon coleagues.
The plugin overrides my tab settings from 2 to 4 characters, how do I set this up?

don't work if add and file init.lua

vim.api.nvim_create_autocmd({'FileType', 'BufEnter'}, {
pattern = 'markdown',
callback = function()
vim.opt_local.tabstop = 2
vim.opt_local.softtabstop = 2
vim.opt_local.shiftwidth = 2
vim.opt_local.expandtab = true
end
})

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions