kickstart.nvim/.stylua.toml
Brian Forsberg 90ca7b1f7f 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)
2024-02-26 13:59:36 -06:00

8 lines
183 B
TOML

column_width = 160
line_endings = "Unix"
indent_type = "Spaces"
indent_width = 2
quote_style = "AutoPreferSingle"
call_parentheses = "None"
collapse_simple_statement = "FunctionOnly"