summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorYigit Sever2022-12-17 17:53:20 +0300
committerYigit Sever2022-12-17 17:53:20 +0300
commit86ef795ec0e33739c62d2e4a7aea706f6a96a24d (patch)
treeee319ea0f8345f676775d4d64d3ef2518da2b39e /.config
parent3e9e465013e86d1c5e79ccc9b2d582a5eb550442 (diff)
downloaddotfiles-86ef795ec0e33739c62d2e4a7aea706f6a96a24d.tar.gz
dotfiles-86ef795ec0e33739c62d2e4a7aea706f6a96a24d.tar.bz2
dotfiles-86ef795ec0e33739c62d2e4a7aea706f6a96a24d.zip
feat(nvim): switch colorscheme to catppuccin
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/lua/plugin_settings.lua71
-rw-r--r--.config/nvim/lua/plugins.lua2
2 files changed, 40 insertions, 33 deletions
diff --git a/.config/nvim/lua/plugin_settings.lua b/.config/nvim/lua/plugin_settings.lua
index 2149db0..55a4eae 100644
--- a/.config/nvim/lua/plugin_settings.lua
+++ b/.config/nvim/lua/plugin_settings.lua
@@ -51,7 +51,7 @@ local conditions = {
51require'lualine'.setup { 51require'lualine'.setup {
52 options = { 52 options = {
53 icons_enabled = true, 53 icons_enabled = true,
54 theme = 'rose-pine', 54 theme = "catppuccin",
55 section_separators = { left = '', right = '' }, 55 section_separators = { left = '', right = '' },
56 component_separators = { left = '', right = '' }, 56 component_separators = { left = '', right = '' },
57 }, 57 },
@@ -544,38 +544,45 @@ require('gitsigns').setup {
544require('Comment').setup() 544require('Comment').setup()
545-- }}} Comment.nvim -- 545-- }}} Comment.nvim --
546 546
547-- Rose Pine {{{ -- 547-- catppuccin {{{ --
548require('rose-pine').setup({ 548require("catppuccin").setup({
549 dark_variant = 'main', 549 flavour = "mocha", -- latte, frappe, macchiato, mocha
550 bold_vert_split = false, 550 background = { -- :h background
551 dim_nc_background = false, 551 light = "latte",
552 disable_background = false, 552 dark = "mocha",
553 disable_float_background = false, 553 },
554 disable_italics = true, 554 transparent_background = false,
555 groups = { 555 term_colors = false,
556 border = 'highlight_med', 556 no_italic = true, -- force no italic
557 comment = 'muted', 557 no_bold = false, -- force no bold
558 link = 'gold', 558 integrations = {
559 punctuation = 'subtle', 559 barbar = true,
560 560 cmp = true,
561 error = 'love', 561 fidget = true,
562 hint = 'iris', 562 gitsigns = true,
563 info = 'foam', 563 leap = true,
564 warn = 'gold', 564 nvimtree = true,
565 565 telescope = true,
566 headings = { 566 treesitter = true,
567 h1 = 'iris', 567 vimwiki = true,
568 h2 = 'foam', 568 which_key = true,
569 h3 = 'rose', 569 },
570 h4 = 'gold', 570 native_lsp = {
571 h5 = 'pine', 571 enabled = true,
572 h6 = 'foam', 572 underlines = {
573 } 573 errors = { "underline" },
574 } 574 hints = { "underline" },
575 warnings = { "underline" },
576 information = { "underline" },
577 },
578
579 },
575}) 580})
576-- set colorscheme after options 581
577vim.cmd('colorscheme rose-pine') 582-- setup must be called before loading
578-- }}} Rose Pine -- 583vim.cmd.colorscheme "catppuccin"
584
585-- }}} catppuccin --
579 586
580-- dial.nvim {{{ -- 587-- dial.nvim {{{ --
581 588
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua
index 9855045..427f619 100644
--- a/.config/nvim/lua/plugins.lua
+++ b/.config/nvim/lua/plugins.lua
@@ -149,7 +149,7 @@ return require('packer').startup(function(use)
149 -- tabline 149 -- tabline
150 use {'romgrk/barbar.nvim', wants = 'nvim-web-devicons'} 150 use {'romgrk/barbar.nvim', wants = 'nvim-web-devicons'}
151 -- colour theme of the $CURRENT_YEAR 151 -- colour theme of the $CURRENT_YEAR
152 use 'rose-pine/neovim' 152 use { "catppuccin/nvim", as = "catppuccin" }
153 153
154 -- abbreviation reminder 154 -- abbreviation reminder
155 use { 155 use {