summaryrefslogtreecommitdiff
path: root/lua/tjk/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'lua/tjk/plugins')
-rw-r--r--lua/tjk/plugins/autoclose.lua9
-rw-r--r--lua/tjk/plugins/cmp.lua14
-rw-r--r--lua/tjk/plugins/colorizer.lua12
-rw-r--r--lua/tjk/plugins/colorscheme.lua71
-rw-r--r--lua/tjk/plugins/lsp.lua17
-rw-r--r--lua/tjk/plugins/manageself.lua4
-rw-r--r--lua/tjk/plugins/snacks.lua15
-rw-r--r--lua/tjk/plugins/tabline.lua4
-rw-r--r--lua/tjk/plugins/treesitter.lua31
9 files changed, 0 insertions, 177 deletions
diff --git a/lua/tjk/plugins/autoclose.lua b/lua/tjk/plugins/autoclose.lua
deleted file mode 100644
index 32afa9f..0000000
--- a/lua/tjk/plugins/autoclose.lua
+++ /dev/null
@@ -1,9 +0,0 @@
-return {
- "m4xshen/autoclose.nvim", -- autoclose parenthesis
- opts = {
- options = {
- pair_spaces = true,
- },
- },
- config = true,
-}
diff --git a/lua/tjk/plugins/cmp.lua b/lua/tjk/plugins/cmp.lua
deleted file mode 100644
index 9f16db2..0000000
--- a/lua/tjk/plugins/cmp.lua
+++ /dev/null
@@ -1,14 +0,0 @@
-return {
- -- TODO look into native cmp
- "saghen/blink.cmp",
- opts = {
- keymap = {
- preset = "super-tab",
-
- ["<C-k>"] = { "select_prev", "fallback" },
- ["<C-j>"] = { "select_next", "fallback" },
- },
-
- cmdline = { enabled = false },
- },
-}
diff --git a/lua/tjk/plugins/colorizer.lua b/lua/tjk/plugins/colorizer.lua
deleted file mode 100644
index 888a6a7..0000000
--- a/lua/tjk/plugins/colorizer.lua
+++ /dev/null
@@ -1,12 +0,0 @@
-return {
- "norcalli/nvim-colorizer.lua", -- css color highlighter
- enabled = vim.opt.termguicolors._value,
- opts = {
- "css",
- "scss",
- "sass",
- "javascript",
- "html",
- "svelte",
- }
-}
diff --git a/lua/tjk/plugins/colorscheme.lua b/lua/tjk/plugins/colorscheme.lua
deleted file mode 100644
index 2bffef6..0000000
--- a/lua/tjk/plugins/colorscheme.lua
+++ /dev/null
@@ -1,71 +0,0 @@
--- use another colorscheme if running as root
-if os.getenv "USER" == "root" then
- vim.cmd.colorscheme "koehler"
- return {}
-end
-
-return {
- "ellisonleao/gruvbox.nvim",
- enabled = vim.opt.termguicolors._value,
- priority = 9001,
- config = function()
- vim.o.background = "dark"
-
- local gruvbox = require("gruvbox")
- local colors = gruvbox.palette
-
- gruvbox.setup({
- italic = {
- strings = false,
- emphasis = true,
- comments = false,
- operators = false,
- folds = true,
- },
- invert_selection = true,
- contrast = "hard",
- palette_overrides = {
- light0 = "#ffffff", -- use white instead of the default off-white for text
- light1 = "#ffffff",
- dark2 = "#363636", -- darker whitespace characters
- },
- overrides = {
- CursorLine = { bg = "#282828" }, -- dark0 (non hard)
- Directory = { link = "GruvboxGreenBold" },
- -- treesitter overrides (more similar to builtin python syntax highlighting)
- -- treesitter selectors can be overridden per language using @selector.language
- ["@variable"] = { link = "GruvboxFg0" },
- ["@punctuation.bracket"] = { link = "GruvboxFg0" },
- ["@punctuation.delimiter"] = { link = "GruvboxFg0" },
- ["@keyword.import"] = { link = "GruvboxBlue" },
- ["@function"] = { link = "GruvboxAqua" },
- ["@function.method"] = { link = "GruvboxAqua" },
- ["@function.method"] = { link = "GruvboxAqua" },
- ["@attribute.builtin"] = { link = "GruvboxGreenBold" },
- ["@attribute"] = { link = "GruvboxGreenBold" },
- ["@operator"] = { link = "GruvboxRed" },
- ["@variable.member"] = { link = "GruvboxFg0" },
- ["@variable.parameter"] = { link = "GruvboxFg0" },
- ["@function.call"] = { link = "GruvboxPurple" },
- ["@function.method.call"] = { link = "GruvboxPurple" },
- -- rainbow delimiters colors
- RainbowDelimiterRed = { fg = "#ff4433" },
- RainbowDelimiterYellow = { fg = "#ffff22" },
- RainbowDelimiterBlue = { fg = "#66f3ff" },
- RainbowDelimiterOrange = { fg = "#ffaa00" },
- RainbowDelimiterGreen = { fg = "#99ff44" },
- RainbowDelimiterViolet = { fg = "#aa00ff" },
- RainbowDelimiterCyan = { fg = "#22ddff" },
- -- TODO italic string start / end
- --["@string_start"] = { italic = true },
- --["@string_end"] = { italic = true },
- },
- })
-
- -- set colorscheme
- vim.cmd.colorscheme "gruvbox"
-
- -- fix todo comment highlighting (here instead of theme overrides since this replaces the bg w/ default)
- vim.api.nvim_set_hl(0, "Todo", { fg = "#ffffff", bold = true })
- end,
-}
diff --git a/lua/tjk/plugins/lsp.lua b/lua/tjk/plugins/lsp.lua
deleted file mode 100644
index 1c2eeb7..0000000
--- a/lua/tjk/plugins/lsp.lua
+++ /dev/null
@@ -1,17 +0,0 @@
-return {
- "neovim/nvim-lspconfig",
- config = function()
- vim.lsp.enable({
- "cssls",
- "eslint",
- "html",
- "jinja_lsp",
- "jsonls",
- "pylsp",
- "somesass_ls",
- "svelte",
- "tailwindcss",
- "ts_ls"
- })
- end
-}
diff --git a/lua/tjk/plugins/manageself.lua b/lua/tjk/plugins/manageself.lua
deleted file mode 100644
index b2c989f..0000000
--- a/lua/tjk/plugins/manageself.lua
+++ /dev/null
@@ -1,4 +0,0 @@
-return {
- -- TODO replace with vim.pack when moving to v0.12
- "folke/lazy.nvim", -- so lazy can manage itself
-}
diff --git a/lua/tjk/plugins/snacks.lua b/lua/tjk/plugins/snacks.lua
deleted file mode 100644
index 434cd68..0000000
--- a/lua/tjk/plugins/snacks.lua
+++ /dev/null
@@ -1,15 +0,0 @@
-return {
- "folke/snacks.nvim",
- priority = 1000,
- lazy = false,
- opts = {
- indent = {
- enabled = true,
- only_scope = true,
- char = "▏", -- TODO doesn't work
- animate = { enabled = false },
- scope = { enabled = false },
- },
- quickfile = { enabled = true },
- },
-}
diff --git a/lua/tjk/plugins/tabline.lua b/lua/tjk/plugins/tabline.lua
deleted file mode 100644
index dbac957..0000000
--- a/lua/tjk/plugins/tabline.lua
+++ /dev/null
@@ -1,4 +0,0 @@
-return {
- url = "https://git.tjkeller.xyz/minitab.nvim",
- config = true,
-}
diff --git a/lua/tjk/plugins/treesitter.lua b/lua/tjk/plugins/treesitter.lua
deleted file mode 100644
index a73d6e7..0000000
--- a/lua/tjk/plugins/treesitter.lua
+++ /dev/null
@@ -1,31 +0,0 @@
-return {
- "nvim-treesitter/nvim-treesitter",
- build = ":TSUpdate",
- dependencies = {
- --{
- -- "nvim-treesitter/playground", -- inspect treesitter structure
- -- cmd = "TSPlaygroundToggle"
- --},
- "geigerzaehler/tree-sitter-jinja2", -- adds filetype for htmljinja, not recognized by ts by default. Requires gcc in path
- "HiPhish/rainbow-delimiters.nvim", -- colored delimiters per scope level
- {
- "windwp/nvim-ts-autotag", -- close tags in html/xml type languages
- opts = {
- per_filetype = {
- ["html"] = { enable_close = true },
- }
- }
- },
- },
- config = function()
- local configs = require("nvim-treesitter.configs")
- configs.setup({
- ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "comment",
- "javascript", "jinja2", "html", "css", "scss", "python", "php" },
- auto_install = true, -- install available parsers when entering new buffers
- highlight = { enable = true, disable = { "yaml", "dockerfile" } },
- indent = { enable = true, disable = { "yaml" } },
- --playground = { enable = true }, -- treesitter debug
- })
- end
-}