swap qmlls for qml-lsp
This commit is contained in:
parent
563475c721
commit
482984f1f2
1 changed files with 7 additions and 8 deletions
15
init.lua
15
init.lua
|
|
@ -38,15 +38,14 @@ vim.pack.add({
|
||||||
})
|
})
|
||||||
-- function to set colorsceme
|
-- function to set colorsceme
|
||||||
vim.cmd("colorscheme " .. vim.fn.system("cat /home/lucy/.local/share/tinted-theming/tinty/current_scheme"))
|
vim.cmd("colorscheme " .. vim.fn.system("cat /home/lucy/.local/share/tinted-theming/tinty/current_scheme"))
|
||||||
|
-- setup superior (?) lsp
|
||||||
|
vim.lsp.config("qml-language-server", {
|
||||||
|
cmd = { "qml-language-server" },
|
||||||
|
filetypes = { "qml" },
|
||||||
|
root_markers = { { "qmldir", "shell.qml" }, ".git" },
|
||||||
|
})
|
||||||
|
|
||||||
-- set up qmlls to point to the right binary
|
vim.lsp.enable("qml-language-server")
|
||||||
vim.lsp.config.qmlls = {
|
|
||||||
name = "qmlls",
|
|
||||||
filetypes = { "qml" },
|
|
||||||
cmd = { "qmlls6" },
|
|
||||||
}
|
|
||||||
|
|
||||||
vim.lsp.enable("qmlls")
|
|
||||||
require("blink.cmp").setup({
|
require("blink.cmp").setup({
|
||||||
fuzzy = { implementation = "prefer_rust_with_warning" },
|
fuzzy = { implementation = "prefer_rust_with_warning" },
|
||||||
completion = {
|
completion = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue