aboutsummaryrefslogtreecommitdiff
path: root/lua/gabrielgio/formatter.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/gabrielgio/formatter.lua')
-rw-r--r--lua/gabrielgio/formatter.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/gabrielgio/formatter.lua b/lua/gabrielgio/formatter.lua
index 7f400b6..a287d8c 100644
--- a/lua/gabrielgio/formatter.lua
+++ b/lua/gabrielgio/formatter.lua
@@ -5,6 +5,7 @@ formatter.setup({
nix = { require("formatter.filetypes.nix").alejandra },
lua = { require("formatter.filetypes.lua").stylua },
fish = { require("formatter.filetypes.fish").fishindent },
+ javascript = { require("formatter.filetypes.javascript").prettier },
},
["*"] = {
require("formatter.filetypes.any").remove_trailing_whitespace,