diff options
author | Abouzar Parvan <[email protected]> | 2021-07-14 04:19:36 +0430 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-13 19:49:36 -0400 |
commit | de7ec62f5fde20ca1d7e53ed83a0077f8945f67c (patch) | |
tree | 1d54b2232489e53a98025825ed550c28e7adea95 /lua/core/formatter.lua | |
parent | 6bbc082f5758cdb57ecb25f270e5558ab63d3754 (diff) |
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
Diffstat (limited to 'lua/core/formatter.lua')
-rw-r--r-- | lua/core/formatter.lua | 2 |
1 files changed, 0 insertions, 2 deletions
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 |