swap qmlls for qml-lsp

This commit is contained in:
lucy 2026-05-28 20:32:46 +02:00
commit 482984f1f2

View file

@ -38,15 +38,14 @@ vim.pack.add({
})
-- function to set colorsceme
vim.cmd("colorscheme " .. vim.fn.system("cat /home/lucy/.local/share/tinted-theming/tinty/current_scheme"))
-- set up qmlls to point to the right binary
vim.lsp.config.qmlls = {
name = "qmlls",
-- setup superior (?) lsp
vim.lsp.config("qml-language-server", {
cmd = { "qml-language-server" },
filetypes = { "qml" },
cmd = { "qmlls6" },
}
root_markers = { { "qmldir", "shell.qml" }, ".git" },
})
vim.lsp.enable("qmlls")
vim.lsp.enable("qml-language-server")
require("blink.cmp").setup({
fuzzy = { implementation = "prefer_rust_with_warning" },
completion = {