summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/getchoo/lsp/config/init.lua
blob: 7cb2cbba3a6d34ac5a500695e8b00b6c5bbe4a84 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
-- 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 = {
  animation = true,
  auto_hide = true,
  icons = true,
  maximum_padding = 2,
  semantic_letters = true,
}

local db = require("dashboard")
db.custom_center = {
  {
    desc = "find a file",
    action = "Telescope fd",
  },
  {
    desc = "update plugins",
    action = "PackerSync",
  },
  {
    desc = "update treesitter parsers",
    actions = "TSUpdate",
  },
}

db.custom_header = {
  " ███╗   ██╗ ███████╗ ██████╗  ██╗   ██╗ ██╗ ███╗   ███╗",
  " ████╗  ██║ ██╔════╝██╔═══██╗ ██║   ██║ ██║ ████╗ ████║",
  " ██╔██╗ ██║ █████╗  ██║   ██║ ██║   ██║ ██║ ██╔████╔██║",
  " ██║╚██╗██║ ██╔══╝  ██║   ██║ ╚██╗ ██╔╝ ██║ ██║╚██╔╝██║",
  " ██║ ╚████║ ███████╗╚██████╔╝  ╚████╔╝  ██║ ██║ ╚═╝ ██║",
  " ╚═╝  ╚═══╝ ╚══════╝ ╚═════╝    ╚═══╝   ╚═╝ ╚═╝     ╚═╝",
}

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,
  highlight = {
    enable = true,
    additional_vim_regex_highlighting = false,
  },
}

M.trouble = {}

return M