mass update

This commit is contained in:
Dario48 2025-10-08 21:24:37 +02:00
commit c613a6d0e3
21 changed files with 361 additions and 128 deletions

View file

@ -0,0 +1,12 @@
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,
})

3
after/ftplugin/norg.lua Normal file
View file

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

4
after/ftplugin/qml.lua Normal file
View file

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

0
after/ftplugin/zig.lua Normal file
View file