From 7ce8d147c3b544a1246640b61d410b95fc7cfc0e Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 27 Dec 2022 16:04:55 -0600 Subject: [PATCH] add formatting to chezmoi --- .../astronvim/lua/user/lsp/formatting.lua | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 home/private_dot_config/astronvim/lua/user/lsp/formatting.lua diff --git a/home/private_dot_config/astronvim/lua/user/lsp/formatting.lua b/home/private_dot_config/astronvim/lua/user/lsp/formatting.lua new file mode 100644 index 0000000..d273bc0 --- /dev/null +++ b/home/private_dot_config/astronvim/lua/user/lsp/formatting.lua @@ -0,0 +1,9 @@ +return { + format_on_save = { + enabled = true, -- enable format on save + ignore_filetypes = { -- disable format on save for specified filetypes + "markdown", + "python", + }, + }, +}