summaryrefslogtreecommitdiff
path: root/nvim/lua/plugins/conform.lua
diff options
context:
space:
mode:
author2025-06-09 13:43:45 +0300
committer2025-06-09 13:55:38 +0300
commit97af93b2a8ebc89364852e3f63e9fd8cfedaeedf (patch)
tree27e2added74ee6c0ff91c9e7927491c661a8bb36 /nvim/lua/plugins/conform.lua
parent04.06.2025 (diff)
downloaddotfiles-97af93b2a8ebc89364852e3f63e9fd8cfedaeedf.tar.gz
dotfiles-97af93b2a8ebc89364852e3f63e9fd8cfedaeedf.tar.bz2
dotfiles-97af93b2a8ebc89364852e3f63e9fd8cfedaeedf.tar.xz
dotfiles-97af93b2a8ebc89364852e3f63e9fd8cfedaeedf.zip
Перевёл dotfiles на stow
Diffstat (limited to 'nvim/lua/plugins/conform.lua')
-rw-r--r--nvim/lua/plugins/conform.lua35
1 files changed, 0 insertions, 35 deletions
diff --git a/nvim/lua/plugins/conform.lua b/nvim/lua/plugins/conform.lua
deleted file mode 100644
index 3204d2d..0000000
--- a/nvim/lua/plugins/conform.lua
+++ /dev/null
@@ -1,35 +0,0 @@
-return {
- "stevearc/conform.nvim",
- opts = {
- formatters_by_ft = {
- javascript = { "prettier" },
- typescript = { "prettier" },
- javascriptreact = { "prettier" },
- typescriptreact = { "prettier" },
- css = { "prettier" },
- html = { "prettier" },
- json = { "prettier" },
- yaml = { "prettier" },
- markdown = { "prettier" },
- graphql = { "prettier" },
- lua = { "stylua" },
- python = { "isort", "black" },
- go = { "gofmt" },
- templ = { "templ" },
- },
- format_on_save = {
- lsp_fallback = true,
- async = false,
- timeout_ms = 500,
- },
- },
- keys = {
- {
- "<leader>mp",
- function()
- require("conform").format({ lsp_fallback = true, async = false, timeout_ms = 500 })
- end,
- desc = "Format file or range (in visual mode)",
- },
- },
-}