diff --git a/lua/weeheavy/plugins/indent-blankline.lua b/lua/weeheavy/plugins/indent-blankline.lua new file mode 100644 index 0000000..7ba49b3 --- /dev/null +++ b/lua/weeheavy/plugins/indent-blankline.lua @@ -0,0 +1,14 @@ +return { + "lukas-reineke/indent-blankline.nvim", + main = "ibl", + opts = {}, + config = function() + local indent = require('ibl').setup { + -- disable scope highlighting as it requires some tuning + scope = { enabled = false }, + indent = { + char = '│' + }, + } + end +} diff --git a/lua/weeheavy/plugins/tokyonight.lua b/lua/weeheavy/plugins/tokyonight.lua new file mode 100644 index 0000000..df2f941 --- /dev/null +++ b/lua/weeheavy/plugins/tokyonight.lua @@ -0,0 +1,49 @@ +return { + "folke/tokyonight.nvim", + lazy = false, + priority = 1000, + opts = {}, + config = function() + local tokyonight = require('tokyonight') + tokyonight.setup({ + styles = { + comments = { italic = true }, + }, + on_colors = function(colors) + -- Brighten up comments a bit + colors.comment = '#888fac' + end, + -- Remove borders from Telescope windows + on_highlights = function(hl, c) + local prompt = '#4e3e6c' + hl.TelescopeNormal = { + bg = c.bg_dark, + fg = c.fg_dark, + } + hl.TelescopeBorder = { + bg = c.bg_dark, + fg = c.bg_dark, + } + hl.TelescopePromptNormal = { + bg = prompt, + } + hl.TelescopePromptBorder = { + bg = prompt, + fg = prompt, + } + hl.TelescopePromptTitle = { + bg = prompt, + fg = prompt, + } + hl.TelescopePreviewTitle = { + bg = c.bg_dark, + fg = c.bg_dark, + } + hl.TelescopeResultsTitle = { + bg = c.bg_dark, + fg = c.bg_dark, + } + end, + }) + end +} diff --git a/lua/weeheavy/plugins/vim-illuminate.lua b/lua/weeheavy/plugins/vim-illuminate.lua new file mode 100644 index 0000000..88b5203 --- /dev/null +++ b/lua/weeheavy/plugins/vim-illuminate.lua @@ -0,0 +1,4 @@ +return { + "RRethy/vim-illuminate", + event = { "BufReadPre", "BufNewFile" } +}