This commit is contained in:
asep komarudin 2023-01-21 11:01:35 +07:00
parent fe32afb482
commit 2849cd4235
3 changed files with 62 additions and 8 deletions

View file

@ -0,0 +1,20 @@
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 },
},
})