Skip to content

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

@psqlmaster

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
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions