mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-08 16:34:26 +02:00
update
This commit is contained in:
parent
fe32afb482
commit
2849cd4235
3 changed files with 62 additions and 8 deletions
20
lua/user/indent-o-matic.lua
Normal file
20
lua/user/indent-o-matic.lua
Normal 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 },
|
||||
},
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue