diff options
author | Gabriel A. Giovanini <g.giovanini@gridx.de> | 2024-09-08 16:05:17 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <g.giovanini@gridx.de> | 2024-09-08 16:05:17 +0200 |
commit | 708c3e8d2d17329cb64c81539223d9e6904d85f5 (patch) | |
tree | a4c2e8064ce1dd9e59249b276de341de89b77f10 /lua | |
parent | 3f63c9f73199c0aaba8dd209db66956631cf1b02 (diff) | |
download | gabrielgio.lua-708c3e8d2d17329cb64c81539223d9e6904d85f5.tar.gz gabrielgio.lua-708c3e8d2d17329cb64c81539223d9e6904d85f5.tar.bz2 gabrielgio.lua-708c3e8d2d17329cb64c81539223d9e6904d85f5.zip |
feat: Sync
Diffstat (limited to 'lua')
-rw-r--r-- | lua/gabrielgio/formatter.lua | 1 | ||||
-rw-r--r-- | lua/gabrielgio/linter.lua | 1 |
2 files changed, 1 insertions, 1 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, diff --git a/lua/gabrielgio/linter.lua b/lua/gabrielgio/linter.lua index b40c28f..427b236 100644 --- a/lua/gabrielgio/linter.lua +++ b/lua/gabrielgio/linter.lua @@ -3,7 +3,6 @@ local lint = require("lint") lint.linters_by_ft = { go = { "golangcilint" }, lua = { "luacheck" }, - javascript = { "prettier" }, fish = { "fish" }, } |