Mercurial > dotfiles
comparison .chezmoitemplates/init.lua @ 643:fddc9726f457
Update to tutti-colori theme
author | zegervdv <zegervdv@me.com> |
---|---|
date | Wed, 31 Aug 2022 08:27:31 +0200 |
parents | 18a279ecde89 |
children | eb85d49022ac |
comparison
equal
deleted
inserted
replaced
642:b8f4fa2ebc4b | 643:fddc9726f457 |
---|---|
472 | 472 |
473 use { 'vimjas/vim-python-pep8-indent', ft = { 'python' } } | 473 use { 'vimjas/vim-python-pep8-indent', ft = { 'python' } } |
474 | 474 |
475 use { | 475 use { |
476 'rebelot/heirline.nvim', | 476 'rebelot/heirline.nvim', |
477 after = 'onedark.nvim', | 477 after = 'espresso-tutti-colori.nvim', |
478 config = function() | 478 config = function() |
479 local utils = require 'heirline.utils' | 479 local utils = require 'heirline.utils' |
480 local conditions = require 'heirline.conditions' | 480 local conditions = require 'heirline.conditions' |
481 | 481 |
482 local colors = require('onedark.palette').dark | 482 local colors = require('tutti-colori.colors').setup() |
483 colors.diag_warn = utils.get_highlight('DiagnosticSignWarn').fg | 483 colors.diag_warn = utils.get_highlight('DiagnosticSignWarn').fg |
484 colors.diag_error = utils.get_highlight('DiagnosticSignError').fg | 484 colors.diag_error = utils.get_highlight('DiagnosticSignError').fg |
485 | 485 |
486 require('heirline').load_colors(colors) | 486 require('heirline').load_colors(colors) |
487 | 487 |
595 } | 595 } |
596 | 596 |
597 -- Colorscheme | 597 -- Colorscheme |
598 use { | 598 use { |
599 'navarasu/onedark.nvim', | 599 'navarasu/onedark.nvim', |
600 disable = true, | |
600 config = function() | 601 config = function() |
601 require('onedark').setup { | 602 require('onedark').setup { |
602 style = 'dark', | 603 style = 'dark', |
603 code_style = { | 604 code_style = { |
604 comments = 'italic', | 605 comments = 'italic', |
620 TelescopeTitle = { link = 'identifier' }, | 621 TelescopeTitle = { link = 'identifier' }, |
621 } | 622 } |
622 for name, opt in pairs(extras) do | 623 for name, opt in pairs(extras) do |
623 vim.api.nvim_set_hl(0, name, opt) | 624 vim.api.nvim_set_hl(0, name, opt) |
624 end | 625 end |
626 end, | |
627 } | |
628 use { | |
629 'zegervdv/espresso-tutti-colori.nvim', | |
630 config = function() | |
631 require('tutti-colori').setup() | |
632 require('tutti-colori').load() | |
625 end, | 633 end, |
626 } | 634 } |
627 | 635 |
628 -- Terminal | 636 -- Terminal |
629 use { | 637 use { |