Pi66

Home | Repos | About | Blog | Gaza

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

About | Files | Commits | Refs | License


store plugin options in one place

Author: pi66
Date: 2026-05-02 17:51
commit: 77d572fd

Stat

A nvim/lua/globals.lua 33 +33 -0
M nvim/lua/lsp.lua 4 +2 -2

Diff

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,

...
Show all
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

// Created by Pi66

// Copyright ©Pi66 2026