swap qmlls for qml-lsp
This commit is contained in:
parent
563475c721
commit
482984f1f2
1 changed files with 7 additions and 8 deletions
13
init.lua
13
init.lua
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue