refact
This commit is contained in:
parent
89dad836a2
commit
b0112c069b
7 changed files with 102 additions and 85 deletions
3
lua/custom/plugins/copilot.lua
Normal file
3
lua/custom/plugins/copilot.lua
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
return {
|
||||
'github/copilot.vim',
|
||||
}
|
||||
|
|
@ -2,3 +2,5 @@
|
|||
-- I promise not to create any merge conflicts in this directory :)
|
||||
--
|
||||
-- See the kickstart.nvim README for more information
|
||||
|
||||
return {}
|
||||
|
|
|
|||
61
lua/custom/plugins/rose-pine.lua
Normal file
61
lua/custom/plugins/rose-pine.lua
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
return {
|
||||
'rose-pine/neovim',
|
||||
name = 'rose-pine',
|
||||
config = function()
|
||||
require('rose-pine').setup {
|
||||
variant = 'auto', -- auto, main, moon, or dawn
|
||||
dark_variant = 'main', -- main, moon, or dawn
|
||||
dim_inactive_windows = false,
|
||||
extend_background_behind_borders = true,
|
||||
|
||||
enable = {
|
||||
terminal = true,
|
||||
legacy_highlights = true, -- Improve compatibility for previous versions of Neovim
|
||||
migrations = true, -- Handle deprecated options automatically
|
||||
},
|
||||
|
||||
styles = {
|
||||
bold = true,
|
||||
italic = true,
|
||||
transparency = true,
|
||||
},
|
||||
|
||||
groups = {
|
||||
border = 'muted',
|
||||
link = 'iris',
|
||||
panel = 'surface',
|
||||
|
||||
error = 'love',
|
||||
hint = 'iris',
|
||||
info = 'foam',
|
||||
note = 'pine',
|
||||
todo = 'rose',
|
||||
warn = 'gold',
|
||||
|
||||
git_add = 'foam',
|
||||
git_change = 'rose',
|
||||
git_delete = 'love',
|
||||
git_dirty = 'rose',
|
||||
git_ignore = 'muted',
|
||||
git_merge = 'iris',
|
||||
git_rename = 'pine',
|
||||
git_stage = 'iris',
|
||||
git_text = 'rose',
|
||||
git_untracked = 'subtle',
|
||||
|
||||
h1 = 'iris',
|
||||
h2 = 'foam',
|
||||
h3 = 'rose',
|
||||
h4 = 'gold',
|
||||
h5 = 'pine',
|
||||
h6 = 'foam',
|
||||
},
|
||||
|
||||
palette = {},
|
||||
|
||||
highlight_groups = {},
|
||||
}
|
||||
|
||||
vim.cmd 'colorscheme rose-pine'
|
||||
end,
|
||||
}
|
||||
3
lua/custom/plugins/undotree.lua
Normal file
3
lua/custom/plugins/undotree.lua
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
return {
|
||||
'mbbill/undotree',
|
||||
}
|
||||
8
lua/custom/plugins/vimtex.lua
Normal file
8
lua/custom/plugins/vimtex.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
return {
|
||||
'lervag/vimtex',
|
||||
lazy = false, -- we don't want to lazy load VimTeX
|
||||
init = function()
|
||||
-- VimTeX configuration goes here, e.g.
|
||||
vim.g.vimtex_view_method = 'zathura'
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue