Updated nvim
This commit is contained in:
parent
838773e5e4
commit
fd1ad576f1
8
init.lua
8
init.lua
|
@ -288,7 +288,7 @@ require('lazy').setup({
|
||||||
-- Document existing key chains
|
-- Document existing key chains
|
||||||
require('which-key').register {
|
require('which-key').register {
|
||||||
['<leader>x'] = { name = '[X] Close buffer', _ = 'which_key_ignore' },
|
['<leader>x'] = { name = '[X] Close buffer', _ = 'which_key_ignore' },
|
||||||
['<leader>h'] = { name = '[H]arpoon', _ = 'which_key_ignore' },
|
['<leader>o'] = { name = 'Harp[O]on', _ = 'which_key_ignore' },
|
||||||
['<leader>t'] = { name = '[T]oggleTerminal', _ = 'which_key_ignore' },
|
['<leader>t'] = { name = '[T]oggleTerminal', _ = 'which_key_ignore' },
|
||||||
['<leader>c'] = { name = '[C]ode', _ = 'which_key_ignore' },
|
['<leader>c'] = { name = '[C]ode', _ = 'which_key_ignore' },
|
||||||
['<leader>d'] = { name = '[D]ocument', _ = 'which_key_ignore' },
|
['<leader>d'] = { name = '[D]ocument', _ = 'which_key_ignore' },
|
||||||
|
@ -303,6 +303,7 @@ require('lazy').setup({
|
||||||
-- visual mode
|
-- visual mode
|
||||||
require('which-key').register({
|
require('which-key').register({
|
||||||
['<leader>h'] = { 'Git [H]unk' },
|
['<leader>h'] = { 'Git [H]unk' },
|
||||||
|
['<leader>R'] = { name = '[R]efactor', _ = 'which_key_ignore' },
|
||||||
}, { mode = 'v' })
|
}, { mode = 'v' })
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
@ -422,7 +423,7 @@ require('lazy').setup({
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
{ -- You can easily change to a different colorscheme.
|
--[[ { -- You can easily change to a different colorscheme.
|
||||||
-- Change the name of the colorscheme plugin below, and then
|
-- Change the name of the colorscheme plugin below, and then
|
||||||
-- change the command in the config to whatever the name of that colorscheme is.
|
-- change the command in the config to whatever the name of that colorscheme is.
|
||||||
--
|
--
|
||||||
|
@ -438,7 +439,8 @@ require('lazy').setup({
|
||||||
-- You can configure highlights by doing something like:
|
-- You can configure highlights by doing something like:
|
||||||
vim.cmd.hi 'Comment gui=none'
|
vim.cmd.hi 'Comment gui=none'
|
||||||
end,
|
end,
|
||||||
},
|
}, ]]
|
||||||
|
require 'custom.plugins.catppuccin',
|
||||||
|
|
||||||
-- Highlight todo, notes, etc in comments
|
-- Highlight todo, notes, etc in comments
|
||||||
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
|
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
return {
|
||||||
'catppuccin/nvim',
|
'catppuccin/nvim',
|
||||||
name = 'catppuccin',
|
name = 'catppuccin',
|
||||||
priority = 1000,
|
priority = 1000,
|
||||||
|
@ -11,7 +12,12 @@
|
||||||
vim.cmd.hi 'Comment gui=none'
|
vim.cmd.hi 'Comment gui=none'
|
||||||
end,
|
end,
|
||||||
opts = {
|
opts = {
|
||||||
term_colors = true,
|
dim_inactive = {
|
||||||
|
enabled = true,
|
||||||
|
shade = 'dark',
|
||||||
|
percentage = 0.15,
|
||||||
|
},
|
||||||
|
transparent_background = true,
|
||||||
--[[ color_overrides = {
|
--[[ color_overrides = {
|
||||||
mocha = {
|
mocha = {
|
||||||
base = '#000000',
|
base = '#000000',
|
||||||
|
|
Loading…
Reference in New Issue