diff --git a/lua/plugins/20-lsp.lua b/lua/plugins/20-lsp.lua index ac5c4f7..a8502dd 100644 --- a/lua/plugins/20-lsp.lua +++ b/lua/plugins/20-lsp.lua @@ -15,9 +15,6 @@ return { "--enable-config", -- Enable .clangd and clangd.yaml files }, }, - slint_lsp = { - root_dir = function() end, -- Fix missing root_dir issue in neoconf (lspconfig doesn't define it...) - }, qmlls = { cmd = { "qmlls6" }, }, diff --git a/lua/plugins/50-user.lua b/lua/plugins/50-user.lua index 04034f6..993a180 100644 --- a/lua/plugins/50-user.lua +++ b/lua/plugins/50-user.lua @@ -1,6 +1,5 @@ ---@type LazySpec return { { "tpope/vim-abolish", event = "User AstroFile" }, - { "slint-ui/vim-slint", ft = "slint" }, -- { "stevearc/profile.nvim", lazy = false }, -- Profiling lua } diff --git a/lua/plugins/51-slint.lua b/lua/plugins/51-slint.lua new file mode 100644 index 0000000..c8cabec --- /dev/null +++ b/lua/plugins/51-slint.lua @@ -0,0 +1,28 @@ +--[[ Future slint community pack? +-- TODO: add ensure installed +--]] + +---@type LazySpec +return { + { + "AstroNvim/astrocore", + optional = true, + ---@type AstroCoreOpts + opts = { + filetypes = { + extension = { + slint = "slint", + }, + }, + }, + }, + { + "AstroNvim/astrolsp", + optional = true, + ---@type AstroLSPOpts + opts = { + ---@diagnostic disable: missing-fields + config = {}, + }, + }, +}