mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-14 19:34:36 +02:00
fix(mason): conform to v2 changes
This commit is contained in:
parent
cb223553ff
commit
8a52e1bf75
24 changed files with 84 additions and 54 deletions
|
@ -14,7 +14,7 @@ return {
|
|||
end,
|
||||
-- Add packages(linting, debug adapter)
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
"mason-org/mason.nvim",
|
||||
opts = { ensure_installed = { "ktlint" } },
|
||||
},
|
||||
-- Add syntax highlighting
|
||||
|
@ -35,7 +35,7 @@ return {
|
|||
{
|
||||
"mfussenegger/nvim-lint",
|
||||
optional = true,
|
||||
dependencies = "williamboman/mason.nvim",
|
||||
dependencies = "mason-org/mason.nvim",
|
||||
opts = {
|
||||
linters_by_ft = { kotlin = { "ktlint" } },
|
||||
},
|
||||
|
@ -64,7 +64,7 @@ return {
|
|||
{
|
||||
"mfussenegger/nvim-dap",
|
||||
optional = true,
|
||||
dependencies = "williamboman/mason.nvim",
|
||||
dependencies = "mason-org/mason.nvim",
|
||||
opts = function()
|
||||
local dap = require("dap")
|
||||
if not dap.adapters.kotlin then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue