diff options
author | Steven Arcangeli <stevearc@stevearc.com> | 2024-07-13 13:29:30 -0700 |
---|---|---|
committer | Steven Arcangeli <stevearc@stevearc.com> | 2024-07-19 08:41:31 -0700 |
commit | 3a0e9b44076514ffba6c81ca28685107928b55f7 (patch) | |
tree | f96d8046822dae0ab0ced3465cf51d1dfbc7c56d /doc/recipes.md | |
parent | d7de350233e8f686b9affac9c1e106a6602f5fe8 (diff) |
feat: allow configuring conform.format() args on a per-filetype basis
Diffstat (limited to 'doc/recipes.md')
-rw-r--r-- | doc/recipes.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/recipes.md b/doc/recipes.md index f5d6f99..45c1e07 100644 --- a/doc/recipes.md +++ b/doc/recipes.md @@ -155,7 +155,9 @@ return { desc = "Format buffer", }, }, - -- Everything in opts will be passed to setup() + -- This will provide type hinting with LuaLS + ---@module "conform" + ---@type conform.setupOpts opts = { -- Define your formatters formatters_by_ft = { |