summaryrefslogtreecommitdiffstats
path: root/lua/Nanderty/Plugins/neoformat.lua
diff options
context:
space:
mode:
authorNanderty <psopka@sopka.ch>2023-03-13 14:05:27 +0100
committerNanderty <psopka@sopka.ch>2023-03-13 14:05:27 +0100
commit59bd3aeee04b6ff559c51a324234a5100db0b2e1 (patch)
tree739c38a4b0bfea8744200d1a88b532afddddd8be /lua/Nanderty/Plugins/neoformat.lua
parentf2f01ec507b3e17494ceb149f5cd762571bf4920 (diff)
downloadneovim-config-59bd3aeee04b6ff559c51a324234a5100db0b2e1.tar.gz
neovim-config-59bd3aeee04b6ff559c51a324234a5100db0b2e1.tar.bz2
neovim-config-59bd3aeee04b6ff559c51a324234a5100db0b2e1.zip
new plugins
Diffstat (limited to 'lua/Nanderty/Plugins/neoformat.lua')
-rw-r--r--lua/Nanderty/Plugins/neoformat.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/Nanderty/Plugins/neoformat.lua b/lua/Nanderty/Plugins/neoformat.lua
new file mode 100644
index 0000000..54ed27d
--- /dev/null
+++ b/lua/Nanderty/Plugins/neoformat.lua
@@ -0,0 +1,3 @@
+vim.api.nvim_create_autocmd("BufWritePre", {
+command = "Neoformat"
+})