Configure stylua to collapse simple inline lua functions
This config prevents stylua from changing one-liners like this: vim.keymap.set('n', '<C-j>', function() harpoon:list():select(1) end) to this: vim.keymap.set('n', '<C-j>', function() harpoon:list():select(1) end)
This commit is contained in:
parent
af4fd2355f
commit
90ca7b1f7f
@ -4,3 +4,4 @@ indent_type = "Spaces"
|
||||
indent_width = 2
|
||||
quote_style = "AutoPreferSingle"
|
||||
call_parentheses = "None"
|
||||
collapse_simple_statement = "FunctionOnly"
|
||||
|
Loading…
x
Reference in New Issue
Block a user