summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/getchoo/lsp/config/init.lua
blob: e6549e610d1f545fc57a01401b85c6db310a9afa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
-- wrapper for all configs
local cmp = require("getchoo.lsp.config.cmp")
local lsp_config = require("getchoo.lsp.config.lsp_config")
local mason = require("getchoo.lsp.config.mason")
local null_ls = require("getchoo.lsp.config.null_ls")

local M = {}

M.bufferline = {
  options = {
    numbers = "ordinal",
    diagnostics = "nvim_lsp",
    always_show_bufferline = false,
  },
}

M.cmp = cmp.config

M.lsp_servers = lsp_config.servers

M.mason_tool_installer = mason.mason_tool_installer
M.mason_lspconfig = mason.mason_lspconfig

M.null_ls = null_ls.config

M.tree = {}

M.treesitter = {
  auto_install = true,
}

M.trouble = {}

return M