Pi66

dots
My personal Linux configuration files and dotfiles.
git clone https://git.pi66.xyz/dots

← back to log

store plugin options in one place

author: pi66
date: 2026-05-02 17:51
hash: 77d572fde4407c358d4ea971a5b42a96e3d8d2ed

Diffstat:

M

nvim/lua/globals.lua
33 ++++++++++++++++++++++++++++++

M

nvim/lua/lsp.lua
4 ++--
 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
diff --git a/nvim/lua/globals.lua b/nvim/lua/globals.lua
index d861670..ec38ce1 100644
--- a/nvim/lua/globals.lua
+++ b/nvim/lua/globals.lua
@@ -3,4 +3,37 @@ return {
    mapleader          = " ",
    loaded_netrw       = 1,
    loaded_netrwPlugin = 1,
+   treesitter         = { "rust", "zig", "c", "javascript", "python" },
+   lsp_servers        = {
+       "ada_ls","ts_ls", "pyright", "tailwindcss", "zls",
+       "html", "cssls", "rust_analyzer", "lua_ls","texlab"
+   },
+   colorizer          = {
+       RGB      = true,
+       RRGGBB   = true,
+       names    = true,
+       RRGGBBAA = true,
+       rgb_fn   = true,
+       hsl_fn   = true,
+       css      = true,
+       css_fn   = true,
+       mode     = 'foreground',
+   },
+   toggleterm         = {
+       size             = 6,
+       open_mapping     = [[<C-_>]],
+       hide_numbers     = true,
+       shade_filetypes  = {},
+       shade_terminals  = false,
+       shading_factor   = 2,
+       start_in_insert  = true,
+       insert_mappings  = true,
+       terminal_mappings = true,
+       persist_size     = true,
+       persist_mode     = true,
+       direction        = "float",
+       close_on_exit    = true,
+       shell            = vim.o.shell,
+       auto_scroll      = true,
+   },
 }
diff --git a/nvim/lua/lsp.lua b/nvim/lua/lsp.lua
index 32fb3de..258e5a0 100644
--- a/nvim/lua/lsp.lua
+++ b/nvim/lua/lsp.lua
@@ -23,12 +23,12 @@ vim.diagnostic.config({

 vim.lsp.handlers["textDocument/hover"] = function(_, result, ctx, config)
     config = config or {}
-    config.border = border
+   config.border = { "╭","─","╮","│","╯","─","╰","│" }
     return vim.lsp.handlers.hover(_, result, ctx, config)
 end

 vim.lsp.handlers["textDocument/signatureHelp"] = function(_, result, ctx, config)
     config = config or {}
-    config.border = border
+   config.border = { "╭","─","╮","│","╯","─","╰","│" }
     return vim.lsp.handlers.signature_help(_, result, ctx, config)
 end