pojokcodeid.nvim-lazy/lua/user/indent-o-matic.lua
asep komarudin 2849cd4235 update
2023-01-21 11:01:35 +07:00

20 lines
435 B
Lua

require("indent-o-matic").setup({
-- Global settings (optional, used as fallback)
max_lines = 2048,
standard_widths = { 2, 4, 8 },
-- Disable indent-o-matic for LISP files
filetype_lisp = {
max_lines = 0,
},
-- Only detect 4 spaces and tabs for java
filetype_java = {
standard_widths = { 4 },
},
-- Don't detect 8 spaces indentations inside files without a filetype
filetype_ = {
standard_widths = { 2, 4 },
},
})