From 27a7c25f0727b373b5d0e4693d5bb2cb4c9c3a88 Mon Sep 17 00:00:00 2001 From: srdusr Date: Wed, 19 Oct 2022 23:55:51 +0200 Subject: Made Sourcing lua config easier --- lua/user/prettier.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 lua/user/prettier.lua (limited to 'lua/user/prettier.lua') diff --git a/lua/user/prettier.lua b/lua/user/prettier.lua new file mode 100644 index 0000000..05d4665 --- /dev/null +++ b/lua/user/prettier.lua @@ -0,0 +1,19 @@ +local status, prettier = pcall(require, "prettier") +if (not status) then return end + +prettier.setup { + bin = 'prettierd', + filetypes = { + "c", + "lua", + "vim", + --"css", + --"javascript", + --"javascriptreact", + --"typescript", + --"typescriptreact", + --"json", + --"scss", + "less" + } +} -- cgit v1.2.3