mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
21 lines
435 B
Lua
21 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 },
|
||
|
},
|
||
|
})
|