summaryrefslogtreecommitdiffstats
path: root/lua/user/lsp/init.lua
blob: add8bf845300ccd382f8287e0236b6c91b3b3241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
local status_ok, lspconfig = pcall(require, "lspconfig")
if not status_ok then
  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,
}