diff --git a/init.lua b/init.lua index bac8b95..572f760 100644 --- a/init.lua +++ b/init.lua @@ -271,6 +271,13 @@ vim.api.nvim_create_autocmd('TextYankPost', { require("conform").setup({ formatters_by_ft = { html = { "prettier" }, + svg = { "prettier" }, + markdown = { "mdformat" }, + }, + formatters = { + mdformat = { + args = { "--wrap", "80", "-" }, + } }, default_format_opts = { lsp_format = "fallback", diff --git a/nvim-pack-lock.json b/nvim-pack-lock.json new file mode 100644 index 0000000..b617b51 --- /dev/null +++ b/nvim-pack-lock.json @@ -0,0 +1,68 @@ +{ + "plugins": { + "conform.nvim": { + "rev": "cde4da5c1083d3527776fee69536107d98dae6c9", + "src": "https://github.com/stevearc/conform.nvim" + }, + "everforest": { + "rev": "f40c2e6c8784c99c57c79edc94cd180e76450222", + "src": "https://github.com/sainnhe/everforest" + }, + "lualine.nvim": { + "rev": "a94fc68960665e54408fe37dcf573193c4ce82c9", + "src": "https://github.com/nvim-lualine/lualine.nvim" + }, + "mini.icons": { + "rev": "b8f6fa6f5a3fd0c56936252edcd691184e5aac0c", + "src": "https://github.com/echasnovski/mini.icons" + }, + "mini.pick": { + "rev": "c8f4ff0251ccb8c6a993ee0dee4e06d9c21a4b99", + "src": "https://github.com/echasnovski/mini.pick" + }, + "nvim-comment": { + "rev": "e9ac16ab056695cad6461173693069ec070d2b23", + "src": "https://github.com/terrortylor/nvim-comment" + }, + "nvim-jdtls": { + "rev": "380ac148f989e1291aac002dc959ecc68c5243d0", + "src": "https://github.com/mfussenegger/nvim-jdtls" + }, + "nvim-lspconfig": { + "rev": "4d3b3bb8815fbe37bcaf3dbdb12a22382bc11ebe", + "src": "https://github.com/neovim/nvim-lspconfig" + }, + "nvim-treesitter": { + "rev": "42fc28ba918343ebfd5565147a42a26580579482", + "src": "https://github.com/nvim-treesitter/nvim-treesitter" + }, + "nvim-ts-autotag": { + "rev": "a1d526af391f6aebb25a8795cbc05351ed3620b5", + "src": "https://github.com/windwp/nvim-ts-autotag" + }, + "nvim-ts-context-commentstring": { + "rev": "1b212c2eee76d787bbea6aa5e92a2b534e7b4f8f", + "src": "https://github.com/JoosepAlviste/nvim-ts-context-commentstring" + }, + "oil.nvim": { + "rev": "bbad9a76b2617ce1221d49619e4e4b659b3c61fc", + "src": "https://github.com/stevearc/oil.nvim" + }, + "plenary.nvim": { + "rev": "b9fd5226c2f76c951fc8ed5923d85e4de065e509", + "src": "https://github.com/nvim-lua/plenary.nvim" + }, + "smear-cursor.nvim": { + "rev": "abfa5835920b1d76c0e24e1465a618ad914be90a", + "src": "https://github.com/sphamba/smear-cursor.nvim" + }, + "tailwind-sorter.nvim": { + "rev": "717e5c9761ed8334dadbb9357df7d826aae97b92", + "src": "https://github.com/laytan/tailwind-sorter.nvim" + }, + "which-key.nvim": { + "rev": "3aab2147e74890957785941f0c1ad87d0a44c15a", + "src": "https://github.com/folke/which-key.nvim" + } + } +} \ No newline at end of file