Skip to content

Commit

Permalink
feat(registry): add neocmakelsp (#739)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter authored Dec 7, 2022
1 parent 66f02fd commit 555168b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions lua/mason-registry/index.lua
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ return {
mockdebug = "mason-registry.mockdebug",
["move-analyzer"] = "mason-registry.move-analyzer",
mypy = "mason-registry.mypy",
neocmakelsp = "mason-registry.neocmakelsp",
netcoredbg = "mason-registry.netcoredbg",
["nginx-language-server"] = "mason-registry.nginx-language-server",
["nickel-lang-lsp"] = "mason-registry.nickel-lang-lsp",
Expand Down
11 changes: 11 additions & 0 deletions lua/mason-registry/neocmakelsp/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
local Pkg = require "mason-core.package"
local cargo = require "mason-core.managers.cargo"

return Pkg.new {
name = "neocmakelsp",
desc = [[CMake LSP implementation based on Tower and Tree-sitter]],
homepage = "https://github.com/Decodetalkers/neocmakelsp",
languages = { Pkg.Lang.CMake },
categories = { Pkg.Cat.LSP },
install = cargo.crate("neocmakelsp", { bin = { "neocmakelsp" } }),
}
2 changes: 1 addition & 1 deletion lua/mason/mappings/language.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ return {
clarity = { "clarity-lsp" },
clojure = { "clojure-lsp", "joker" },
clojurescript = { "clojure-lsp", "joker" },
cmake = { "cmake-language-server", "cmakelang", "gersemi" },
cmake = { "cmake-language-server", "cmakelang", "gersemi", "neocmakelsp" },
codeql = { "codeql" },
crystal = { "crystalline" },
csh = { "beautysh" },
Expand Down

0 comments on commit 555168b

Please sign in to comment.