add nix ftplugin

This commit is contained in:
2026-06-28 15:20:20 +09:00
parent 881b809c32
commit f6fa2f15cc
7 changed files with 117 additions and 20 deletions

11
lua/plugins/conform.lua Normal file
View File

@@ -0,0 +1,11 @@
return {
'stevearc/conform.nvim',
opts = {
formatters_by_ft = {
lua = { "stylua" },
python = { "isort", "black" },
rust = { "rustfmt", lsp_format = "fallback" },
javascript = { "prettierd", "prettier", stop_after_first = true },
},
},
}