.dotfiles/.config/nvim/after/plugin/tabset.lua

29 lines
613 B
Lua
Raw Normal View History

require("tabset").setup({
defaults = {
tabwidth = 4,
expandtab = true
},
languages = {
{
filetypes = { "html", "json", "yaml", "xml", "markdown" },
config = {
tabwidth = 2
}
},
{
filetypes = { "asm", "s" },
config = {
tabwidth = 8,
expandtab = false
}
},
{
filetypes = { "Makefile", "make" },
config = {
tabwidth = 4,
expandtab = false
}
}
}
})