native #1
1 changed files with 5 additions and 4 deletions
replace fuck shit qmlls with new lsp
commit
ae096acfe9
9
init.lua
9
init.lua
|
|
@ -49,9 +49,10 @@ local function get_tinty_theme()
|
||||||
end
|
end
|
||||||
vim.cmd("colorscheme " .. get_tinty_theme())
|
vim.cmd("colorscheme " .. get_tinty_theme())
|
||||||
-- set up qmlls to point to the right binary
|
-- set up qmlls to point to the right binary
|
||||||
vim.lsp.config("qmlls", {
|
vim.lsp.config.qml = {
|
||||||
cmd = { "qmlls6" },
|
cmd = { "qml-language-server" },
|
||||||
})
|
}
|
||||||
|
vim.lsp.enable("qml")
|
||||||
require("blink.cmp").setup({
|
require("blink.cmp").setup({
|
||||||
fuzzy = { implementation = "prefer_rust_with_warning" },
|
fuzzy = { implementation = "prefer_rust_with_warning" },
|
||||||
completion = {
|
completion = {
|
||||||
|
|
@ -90,7 +91,7 @@ require("cord").setup({
|
||||||
})
|
})
|
||||||
require("lualine").setup({
|
require("lualine").setup({
|
||||||
options = {
|
options = {
|
||||||
section_separators = { left = "", right = "" },
|
section_separators = { left = "", right = "" },
|
||||||
component_separators = { left = "|", right = "|" },
|
component_separators = { left = "|", right = "|" },
|
||||||
globalstatus = true,
|
globalstatus = true,
|
||||||
always_divide_middle = true,
|
always_divide_middle = true,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue