new config using vim.pack

This commit is contained in:
Dario48 2026-03-31 21:49:56 +02:00
commit 17fda33a90
52 changed files with 629 additions and 659 deletions

View file

@ -1,8 +0,0 @@
local conf = vim.lsp.config.hls
vim.lsp.config("hls", conf)
vim.lsp.enable("hls")
vim.o.tabstop = 2
vim.o.softtabstop = 0
vim.o.shiftwidth = 0
vim.o.expandtab = true

View file

@ -1,12 +0,0 @@
local port = tonumber(os.getenv("GDScript_Port")) or 6005
local cmd = vim.lsp.rpc.connect("127.0.0.1", port)
local pipe = "/tmp/godot.pipe" -- I use /tmp/godot.pipe
vim.lsp.start({
name = "Godot",
cmd = cmd,
root_dir = vim.fs.dirname(vim.fs.find({ "project.godot", ".git" }, { upward = true })[1]),
on_attach = function(client, bufnr)
vim.api.nvim_command('echo serverstart("' .. pipe .. '")')
end,
})

View file

@ -1,8 +0,0 @@
local conf = vim.lsp.config.hls
vim.lsp.config("hls", conf)
vim.lsp.enable("hls")
vim.o.tabstop = 2
vim.o.softtabstop = 0
vim.o.shiftwidth = 0
vim.o.expandtab = true

View file

@ -1,8 +0,0 @@
local conf = vim.lsp.config.hls
vim.lsp.config("hls", conf)
vim.lsp.enable("hls")
vim.o.tabstop = 2
vim.o.softtabstop = 0
vim.o.shiftwidth = 0
vim.o.expandtab = true

View file

@ -1,3 +0,0 @@
vim.opt.conceallevel = 2
vim.opt.concealcursor = "nc"
vim.opt.foldlevel = 99

View file

@ -1,4 +0,0 @@
local conf = vim.lsp.config.qmlls
conf.root_markers = { ".qmlls.ini" }
vim.lsp.config("qmlls", conf)
vim.lsp.enable("qmlls")

View file