feat(slint): wip slint configuration
This commit is contained in:
@@ -15,9 +15,6 @@ return {
|
|||||||
"--enable-config", -- Enable .clangd and clangd.yaml files
|
"--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 = {
|
qmlls = {
|
||||||
cmd = { "qmlls6" },
|
cmd = { "qmlls6" },
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
---@type LazySpec
|
---@type LazySpec
|
||||||
return {
|
return {
|
||||||
{ "tpope/vim-abolish", event = "User AstroFile" },
|
{ "tpope/vim-abolish", event = "User AstroFile" },
|
||||||
{ "slint-ui/vim-slint", ft = "slint" },
|
|
||||||
-- { "stevearc/profile.nvim", lazy = false }, -- Profiling lua
|
-- { "stevearc/profile.nvim", lazy = false }, -- Profiling lua
|
||||||
}
|
}
|
||||||
|
|||||||
28
lua/plugins/51-slint.lua
Normal file
28
lua/plugins/51-slint.lua
Normal file
@@ -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 = {},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user