Skip to content

Commit b919452

Browse files
Disco-Davedisco-dave
and
disco-dave
authored
Change $FILEPATH to $FILENAME in the fourmolu configuration. (#1601)
Co-authored-by: disco-dave <[email protected]>
1 parent 6eea462 commit b919452

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/BUILTINS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3253,7 +3253,7 @@ local sources = { null_ls.builtins.formatting.fourmolu }
32533253
- Filetypes: `{ "haskell" }`
32543254
- Method: `formatting`
32553255
- Command: `fourmolu`
3256-
- Args: `{ "--stdin-input-file", "$FILEPATH" }`
3256+
- Args: `{ "--stdin-input-file", "$FILENAME" }`
32573257

32583258
### [fprettify](https://github.com/pseewald/fprettify)
32593259

lua/null-ls/builtins/formatting/fourmolu.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ return h.make_builtin({
1313
filetypes = { "haskell" },
1414
generator_opts = {
1515
command = "fourmolu",
16-
args = { "--stdin-input-file", "$FILEPATH" },
16+
args = { "--stdin-input-file", "$FILENAME" },
1717
to_stdin = true,
1818
},
1919
factory = h.formatter_factory,

0 commit comments

Comments
 (0)