From 157ece0b82684c7644a32ef7d5e88a2927d027cb Mon Sep 17 00:00:00 2001 From: Lvim Tech <82431193+lvim-tech@users.noreply.github.com> Date: Mon, 11 Jul 2022 17:30:23 +0300 Subject: feat: add pylint, cpplint, prettier (#51) --- lua/mason-registry/cpplint/init.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lua/mason-registry/cpplint/init.lua (limited to 'lua/mason-registry/cpplint/init.lua') diff --git a/lua/mason-registry/cpplint/init.lua b/lua/mason-registry/cpplint/init.lua new file mode 100644 index 00000000..2b9eab14 --- /dev/null +++ b/lua/mason-registry/cpplint/init.lua @@ -0,0 +1,11 @@ +local Pkg = require "mason-core.package" +local pip3 = require "mason-core.managers.pip3" + +return Pkg.new { + name = "cpplint", + desc = [[Cpplint is a command-line tool to check C/C++ files for style issues following Google's C++ style guide]], + homepage = "https://pypi.org/project/cpplint/", + languages = { Pkg.Lang.C, Pkg.Lang["C++"] }, + categories = { Pkg.Cat.Linter }, + install = pip3.packages { "cpplint", bin = { "cpplint" } }, +} -- cgit v1.2.3-70-g09d2