forked from williamboman/mason.nvim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into pyflakes
* origin/main: feat(registry): add cmake-lint (williamboman#1050) feat(registry): add snakefmt (williamboman#1048) chore: autogenerate (williamboman#1065) feat(ui): display registries in help window (williamboman#1062) fix(package): emit registry event on abnormal failures (williamboman#1061) refactor(package): lazy-require modules (williamboman#1060) feat: add semver module (williamboman#1058) chore(ci): bump selene and stylua versions (williamboman#1059) refactor(powershell): remove .script and fix fast API error (williamboman#1057) refactor(expr): better handling of nil values (williamboman#1056) feat(InstallContext): add strict_mode flag (williamboman#1055) chore: autogenerate (williamboman#1051)
- Loading branch information
Showing
28 changed files
with
424 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,4 @@ jobs: | |
token: ${{ secrets.GITHUB_TOKEN }} | ||
# CLI arguments | ||
args: --check . | ||
version: 0.15.0 | ||
version: 0.16.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
local semver = require "mason-vendor.semver" | ||
local Result = require "mason-core.result" | ||
|
||
local M = {} | ||
|
||
---@param version string | ||
function M.parse(version) | ||
version = version:gsub("^v", "") | ||
return Result.pcall(semver, version) | ||
end | ||
|
||
return M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
local Pkg = require "mason-core.package" | ||
local pip3 = require "mason-core.managers.pip3" | ||
|
||
return Pkg.new { | ||
name = "cmake-lint", | ||
desc = [[cmakelint parses CMake files and reports style issues]], | ||
homepage = "https://github.com/cmake-lint/cmake-lint", | ||
languages = { Pkg.Lang.Python }, | ||
categories = { Pkg.Cat.Linter }, | ||
install = pip3.packages { "cmakelint", bin = { "cmakelint" } }, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
local Pkg = require "mason-core.package" | ||
local pip3 = require "mason-core.managers.pip3" | ||
|
||
return Pkg.new { | ||
name = "snakefmt", | ||
desc = "The uncompromising Snakemake code formatter", | ||
homepage = "https://github.com/snakemake/snakefmt", | ||
languages = { Pkg.Lang.Snakemake }, | ||
categories = { Pkg.Cat.Formatter }, | ||
install = pip3.packages { "snakefmt", bin = { "snakefmt" } }, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.