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 /ftplugin/tex.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 'ftplugin/tex.lua')
-rw-r--r-- | ftplugin/tex.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ftplugin/tex.lua b/ftplugin/tex.lua index a81a6ff7..c5748189 100644 --- a/ftplugin/tex.lua +++ b/ftplugin/tex.lua @@ -33,7 +33,6 @@ vim.api.nvim_exec( ]], false ) -if (O.lang.latex.auto_save) -then - vim.api.nvim_exec([[au FocusLost * :wa]],false) +if O.lang.latex.auto_save then + vim.api.nvim_exec([[au FocusLost * :wa]], false) end |