summaryrefslogtreecommitdiffstats
path: root/lua/user/lsp/init.lua
blob: 9dff1be937f840c572f7bc1cedc9e1dabab3d6c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
local status_ok, lspconfig = pcall(require, "lspconfig")
if not status_ok then
  print "lspconfig init failed"
  return
end

require "user.lsp.lsp-installer"
require("user.lsp.handlers").setup()
require "user.lsp.null-ls"

lspconfig.gdscript.setup{
  on_attach = require("user.lsp.handlers").on_attach,
  capabilities = require("user.lsp.handlers").capabilities,
}