From de7ec62f5fde20ca1d7e53ed83a0077f8945f67c Mon Sep 17 00:00:00 2001 From: Abouzar Parvan Date: Wed, 14 Jul 2021 04:19:36 +0430 Subject: Added default formatters (#908) * added default formatters for a couple of langs * fix: sugesstions from tastyep * allow users to change default formatters * suggestion: mellow pointed out the telescope issue * we don't need to use formatter.setup --- lua/core/formatter.lua | 2 -- 1 file changed, 2 deletions(-) (limited to 'lua/core/formatter.lua') diff --git a/lua/core/formatter.lua b/lua/core/formatter.lua index 06fcb56d..05de74ab 100644 --- a/lua/core/formatter.lua +++ b/lua/core/formatter.lua @@ -53,8 +53,6 @@ if not status_ok then return end -formatter.setup {} - if not O.format_on_save then vim.cmd [[if exists('#autoformat#BufWritePost') :autocmd! autoformat -- cgit v1.2.3