mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
enc: migrate to auto-lint and auto-conform
This commit is contained in:
parent
eace6b6674
commit
ff62c20795
11 changed files with 38 additions and 55 deletions
|
@ -28,11 +28,11 @@ if pcode.active_cpp_config then
|
|||
end,
|
||||
},
|
||||
{
|
||||
"stevearc/conform.nvim",
|
||||
"pojokcodeid/auto-conform.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = function(_, opts)
|
||||
local package = "clang-format"
|
||||
require("user.utils.masoncfg").try_install(package)
|
||||
vim.list_extend(opts.ensure_installed, { package })
|
||||
opts.formatters_by_ft.cpp = { package }
|
||||
opts.formatters_by_ft.c = { package }
|
||||
end,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue