mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-14 15:08:47 +02:00
buff line, tint, mode, copilot and other stuff
This commit is contained in:
parent
46879b79b1
commit
3cc36dead0
2 changed files with 72 additions and 3 deletions
|
@ -2,4 +2,71 @@
|
|||
-- I promise not to create any merge conflicts in this directory :)
|
||||
--
|
||||
-- See the kickstart.nvim README for more information
|
||||
return {}
|
||||
return {
|
||||
{
|
||||
'levouh/tint.nvim',
|
||||
config = function()
|
||||
-- Override some defaults
|
||||
require('tint').setup {
|
||||
tint = -45, -- Darken colors, use a positive value to brighten
|
||||
saturation = 0.6, -- Saturation to preserve
|
||||
transforms = require('tint').transforms.SATURATE_TINT, -- Showing default behavior, but value here can be predefined set of transforms
|
||||
tint_background_colors = true, -- Tint background portions of highlight groups
|
||||
highlight_ignore_patterns = { 'WinSeparator', 'Status.*' }, -- Highlight group patterns to ignore, see `string.find`
|
||||
window_ignore_function = function(winid)
|
||||
local bufid = vim.api.nvim_win_get_buf(winid)
|
||||
local buftype = vim.api.nvim_buf_get_option(bufid, 'buftype')
|
||||
local floating = vim.api.nvim_win_get_config(winid).relative ~= ''
|
||||
|
||||
-- Do not tint `terminal` or floating windows, tint everything else
|
||||
return buftype == floating --"terminal" or
|
||||
end,
|
||||
}
|
||||
end,
|
||||
},
|
||||
{
|
||||
'mvllow/modes.nvim',
|
||||
config = function()
|
||||
require('modes').setup {
|
||||
colors = {
|
||||
copy = '#f5c359',
|
||||
delete = '#c75c6a',
|
||||
insert = '#78ccc5',
|
||||
visual = '#9745be',
|
||||
default = '#FFFFFF',
|
||||
normal = 'white',
|
||||
},
|
||||
|
||||
-- Set opacity for cursorline and number background
|
||||
line_opacity = 0.5,
|
||||
|
||||
-- Enable cursor highlights
|
||||
set_cursor = true,
|
||||
|
||||
-- Enable cursorline initially, and disable cursorline for inactive windows
|
||||
-- or ignored filetypes
|
||||
set_cursorline = true,
|
||||
|
||||
-- Enable line number highlights to match cursorline
|
||||
set_number = true,
|
||||
|
||||
-- Disable modes highlights in specified filetypes
|
||||
-- Please PR commonly ignored filetypes
|
||||
ignore_filetypes = { 'NvimTree', 'TelescopePrompt' },
|
||||
}
|
||||
end,
|
||||
vim.opt.guicursor:append 'n-c:block-Cursor',
|
||||
},
|
||||
{
|
||||
'github/copilot.vim',
|
||||
},
|
||||
{
|
||||
'akinsho/bufferline.nvim',
|
||||
version = '*',
|
||||
dependencies = 'nvim-tree/nvim-web-devicons',
|
||||
config = function()
|
||||
vim.opt.termguicolors = true
|
||||
require('bufferline').setup {}
|
||||
end,
|
||||
},
|
||||
} -- end of return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue