adding in new color scheme
This commit is contained in:
@@ -1,14 +1,10 @@
|
|||||||
require('rose-pine').setup({
|
require('catppuccin').setup({
|
||||||
disable_background = true
|
flavour = "latte"
|
||||||
})
|
})
|
||||||
|
|
||||||
function ColorMyPencils(color)
|
function ColorMyPencils(color)
|
||||||
color = color or "rose-pine"
|
color = color or "catppuccin"
|
||||||
vim.cmd.colorscheme(color)
|
vim.cmd.colorscheme(color)
|
||||||
|
|
||||||
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
|
||||||
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
ColorMyPencils()
|
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", "gd", function() vim.lsp.buf.definition() end, opts)
|
||||||
vim.keymap.set("n", "K", function() vim.lsp.buf.hover() 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>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_next() end, opts)
|
||||||
vim.keymap.set("n", "]d", function() vim.diagnostic.goto_prev() 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)
|
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>ww', builtin.live_grep, {})
|
||||||
vim.keymap.set('n', '<leader>sr', builtin.lsp_references, {})
|
vim.keymap.set('n', '<leader>sr', builtin.lsp_references, {})
|
||||||
vim.keymap.set('n', '<leader>ss', builtin.lsp_document_symbols, {})
|
vim.keymap.set('n', '<leader>ss', builtin.lsp_document_symbols, {})
|
||||||
|
|||||||
@@ -15,14 +15,6 @@ return require('packer').startup(function(use)
|
|||||||
requires = { { 'nvim-lua/plenary.nvim' } }
|
requires = { { 'nvim-lua/plenary.nvim' } }
|
||||||
}
|
}
|
||||||
|
|
||||||
use({
|
|
||||||
'rose-pine/neovim',
|
|
||||||
as = 'rose-pine',
|
|
||||||
config = function()
|
|
||||||
vim.cmd('colorscheme rose-pine')
|
|
||||||
end
|
|
||||||
})
|
|
||||||
|
|
||||||
use({ 'nvim-treesitter/nvim-treesitter', run = ':TSUpdate' })
|
use({ 'nvim-treesitter/nvim-treesitter', run = ':TSUpdate' })
|
||||||
use('nvim-treesitter/playground')
|
use('nvim-treesitter/playground')
|
||||||
use('mbbill/undotree')
|
use('mbbill/undotree')
|
||||||
@@ -75,5 +67,7 @@ return require('packer').startup(function(use)
|
|||||||
-- Adds extra functionality over rust analyzer
|
-- Adds extra functionality over rust analyzer
|
||||||
use("simrat39/rust-tools.nvim")
|
use("simrat39/rust-tools.nvim")
|
||||||
|
|
||||||
use("theprimegean/harpoon")
|
use("ThePrimeagen/harpoon")
|
||||||
|
|
||||||
|
use { "catppuccin/nvim", as = "catppuccin" }
|
||||||
end)
|
end)
|
||||||
|
|||||||
@@ -85,6 +85,11 @@ _G.packer_plugins = {
|
|||||||
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/LuaSnip",
|
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/LuaSnip",
|
||||||
url = "https://github.com/L3MON4D3/LuaSnip"
|
url = "https://github.com/L3MON4D3/LuaSnip"
|
||||||
},
|
},
|
||||||
|
catppuccin = {
|
||||||
|
loaded = true,
|
||||||
|
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/catppuccin",
|
||||||
|
url = "https://github.com/catppuccin/nvim"
|
||||||
|
},
|
||||||
["cellular-automaton.nvim"] = {
|
["cellular-automaton.nvim"] = {
|
||||||
loaded = true,
|
loaded = true,
|
||||||
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/cellular-automaton.nvim",
|
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/cellular-automaton.nvim",
|
||||||
@@ -138,7 +143,7 @@ _G.packer_plugins = {
|
|||||||
harpoon = {
|
harpoon = {
|
||||||
loaded = true,
|
loaded = true,
|
||||||
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/harpoon",
|
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/harpoon",
|
||||||
url = "https://github.com/theprimeagen/harpoon"
|
url = "https://github.com/ThePrimeagen/harpoon"
|
||||||
},
|
},
|
||||||
["lsp-zero.nvim"] = {
|
["lsp-zero.nvim"] = {
|
||||||
loaded = true,
|
loaded = true,
|
||||||
@@ -200,12 +205,6 @@ _G.packer_plugins = {
|
|||||||
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/plenary.nvim",
|
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/plenary.nvim",
|
||||||
url = "https://github.com/nvim-lua/plenary.nvim"
|
url = "https://github.com/nvim-lua/plenary.nvim"
|
||||||
},
|
},
|
||||||
["rose-pine"] = {
|
|
||||||
config = { "\27LJ\2\n9\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0\26colorscheme rose-pine\bcmd\bvim\0" },
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/rose-pine",
|
|
||||||
url = "https://github.com/rose-pine/neovim"
|
|
||||||
},
|
|
||||||
["rust-tools.nvim"] = {
|
["rust-tools.nvim"] = {
|
||||||
loaded = true,
|
loaded = true,
|
||||||
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/rust-tools.nvim",
|
path = "/home/talksik-fedora/.local/share/nvim/site/pack/packer/start/rust-tools.nvim",
|
||||||
@@ -233,10 +232,6 @@ time([[Defining packer_plugins]], false)
|
|||||||
time([[Config for Comment.nvim]], true)
|
time([[Config for Comment.nvim]], true)
|
||||||
try_loadstring("\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fComment\frequire\0", "config", "Comment.nvim")
|
try_loadstring("\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fComment\frequire\0", "config", "Comment.nvim")
|
||||||
time([[Config for Comment.nvim]], false)
|
time([[Config for Comment.nvim]], false)
|
||||||
-- Config for: rose-pine
|
|
||||||
time([[Config for rose-pine]], true)
|
|
||||||
try_loadstring("\27LJ\2\n9\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0\26colorscheme rose-pine\bcmd\bvim\0", "config", "rose-pine")
|
|
||||||
time([[Config for rose-pine]], false)
|
|
||||||
|
|
||||||
_G._packer.inside_compile = false
|
_G._packer.inside_compile = false
|
||||||
if _G._packer.needs_bufread == true then
|
if _G._packer.needs_bufread == true then
|
||||||
|
|||||||
Reference in New Issue
Block a user