new config using vim.pack
This commit is contained in:
parent
e685165044
commit
17fda33a90
52 changed files with 629 additions and 659 deletions
|
|
@ -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
|
||||
|
|
@ -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,
|
||||
})
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
vim.opt.conceallevel = 2
|
||||
vim.opt.concealcursor = "nc"
|
||||
vim.opt.foldlevel = 99
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
local conf = vim.lsp.config.qmlls
|
||||
conf.root_markers = { ".qmlls.ini" }
|
||||
vim.lsp.config("qmlls", conf)
|
||||
vim.lsp.enable("qmlls")
|
||||
Loading…
Add table
Add a link
Reference in a new issue