add vim-illuminate, tokyonight and indent-blankline plugins
This commit is contained in:
parent
12c3047969
commit
abcbeb85ec
3 changed files with 67 additions and 0 deletions
14
lua/weeheavy/plugins/indent-blankline.lua
Normal file
14
lua/weeheavy/plugins/indent-blankline.lua
Normal file
|
|
@ -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
|
||||||
|
}
|
||||||
49
lua/weeheavy/plugins/tokyonight.lua
Normal file
49
lua/weeheavy/plugins/tokyonight.lua
Normal file
|
|
@ -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
|
||||||
|
}
|
||||||
4
lua/weeheavy/plugins/vim-illuminate.lua
Normal file
4
lua/weeheavy/plugins/vim-illuminate.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
return {
|
||||||
|
"RRethy/vim-illuminate",
|
||||||
|
event = { "BufReadPre", "BufNewFile" }
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue