adding in new color scheme
This commit is contained in:
@@ -1,14 +1,10 @@
|
||||
require('rose-pine').setup({
|
||||
disable_background = true
|
||||
require('catppuccin').setup({
|
||||
flavour = "latte"
|
||||
})
|
||||
|
||||
function ColorMyPencils(color)
|
||||
color = color or "rose-pine"
|
||||
function ColorMyPencils(color)
|
||||
color = color or "catppuccin"
|
||||
vim.cmd.colorscheme(color)
|
||||
|
||||
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
||||
|
||||
end
|
||||
|
||||
ColorMyPencils()
|
||||
|
||||
@@ -51,7 +51,7 @@ lsp.on_attach(function(client, bufnr)
|
||||
vim.keymap.set("n", "gd", function() vim.lsp.buf.definition() end, opts)
|
||||
vim.keymap.set("n", "K", function() vim.lsp.buf.hover() end, opts)
|
||||
vim.keymap.set("n", "<leader>vws", function() vim.lsp.buf.workspace_symbol() end, opts)
|
||||
vim.keymap.set("n", "<leader>gl", function() vim.diagnostic.open_float() end, opts)
|
||||
vim.keymap.set("n", "<leader>lg", function() vim.diagnostic.open_float() end, opts)
|
||||
vim.keymap.set("n", "[d", function() vim.diagnostic.goto_next() end, opts)
|
||||
vim.keymap.set("n", "]d", function() vim.diagnostic.goto_prev() end, opts)
|
||||
vim.keymap.set("n", "<leader>la", function() vim.lsp.buf.code_action() end, opts)
|
||||
|
||||
@@ -5,7 +5,7 @@ require('telescope').setup {
|
||||
},
|
||||
}
|
||||
|
||||
vim.keymap.set('n', '<leader>ff', builtin.git_files, {})
|
||||
vim.keymap.set('n', '<leader>f', builtin.git_files, {})
|
||||
vim.keymap.set('n', '<leader>ww', builtin.live_grep, {})
|
||||
vim.keymap.set('n', '<leader>sr', builtin.lsp_references, {})
|
||||
vim.keymap.set('n', '<leader>ss', builtin.lsp_document_symbols, {})
|
||||
|
||||
Reference in New Issue
Block a user