From 19a9ac8b2f4089b7f5e4021caa57106ed0b29df4 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Mon, 18 Jul 2022 19:28:04 +0700 Subject: [PATCH] chore: add nvim catppucin cache --- data/bat/config | 2 +- data/bat/themes/Catppuccin.tmTheme | 960 ----------------------------- data/kitty/diff.conf | 30 - data/nvim/init.lua | 5 +- 4 files changed, 5 insertions(+), 992 deletions(-) delete mode 100644 data/bat/themes/Catppuccin.tmTheme delete mode 100644 data/kitty/diff.conf diff --git a/data/bat/config b/data/bat/config index 167b2bd..f5e00ac 100644 --- a/data/bat/config +++ b/data/bat/config @@ -1,2 +1,2 @@ ---theme=Catppuccin +--theme=ansi --style=plain diff --git a/data/bat/themes/Catppuccin.tmTheme b/data/bat/themes/Catppuccin.tmTheme deleted file mode 100644 index a27df22..0000000 --- a/data/bat/themes/Catppuccin.tmTheme +++ /dev/null @@ -1,960 +0,0 @@ - - - - - name - Catppuccin - settings - - - settings - - foreground - #d9e0ee - background - #1e1e2e - caret - #d9e0ec - invisibles - #c3bac6 - gutterForeground - #988ba2 - gutterForegroundHighlight - #abe9b3 - lineHighlight - #1e1e2e - selection - #6e6c7e - selectionBorder - #1e1e2e - activeGuide - #f8bd96 - findHighlightForeground - #161320 - findHighlight - #fae3b0 - bracketsForeground - #988ba2 - bracketContentsForeground - #988ba2 - - - - name - Comment - scope - comment - settings - - foreground - #6e6c7e - fontStyle - italic - - - - name - String - scope - string - settings - - foreground - #abe9b3 - fontStyle - - - - - name - String regex - scope - string.regexp - settings - - foreground - #f8bd96 - fontStyle - - - - - name - Number - scope - constant.numeric - settings - - foreground - #f8bd96 - fontStyle - - - - - name - Boolean - scope - constant.language.boolean - settings - - foreground - #f8bd96 - fontStyle - bold italic - - - - name - Built-in constant - scope - constant.language - settings - - foreground - #c9cbff - fontStyle - italic - - - - name - Built-in function - scope - support.function.builtin - settings - - foreground - #f8bd96 - fontStyle - italic - - - - name - User-defined constant - scope - variable.other.constant - settings - - foreground - #f8bd96 - fontStyle - - - - - name - Variable - scope - variable - settings - - - - - name - Keyword - scope - keyword - settings - - foreground - #f28fad - fontStyle - italic - - - - name - Conditional/loop - scope - keyword.control.loop, keyword.control.conditional, keyword.control.c++ - settings - - foreground - #ddb6f2 - fontStyle - bold - - - - name - Return - scope - keyword.control.return, keyword.control.flow.return - settings - - foreground - #f5c2e7 - fontStyle - bold - - - - name - Exception - scope - support.type.exception - settings - - foreground - #f8bd96 - fontStyle - italic - - - - name - Operator - scope - keyword.operator, punctuation.accessor - settings - - foreground - #89dceb - fontStyle - bold - - - - name - Punctuation separator - scope - punctuation.separator - settings - - foreground - #b5e8e0 - fontStyle - - - - - name - Punctuation terminator - scope - punctuation.terminator - settings - - foreground - #b5e8e0 - fontStyle - - - - - name - Punctuation bracket - scope - punctuation.section - settings - - foreground - #988ba2 - fontStyle - - - - - name - Include - scope - keyword.control.import.include - settings - - foreground - #b5e8e0 - fontStyle - italic - - - - name - Storage - scope - storage - settings - - foreground - #f28fad - fontStyle - - - - - name - Storage type - scope - storage.type - settings - - foreground - #fae3b0 - fontStyle - italic - - - - name - Storage modifier - scope - storage.modifier - settings - - foreground - #f28fad - fontStyle - - - - - name - Storage type namespace - scope - entity.name.namespace, meta.path - settings - - foreground - #f5e0dc - fontStyle - italic - - - - name - Storage type class - scope - storage.type.class - settings - - foreground - #f5e0dc - fontStyle - italic - - - - name - Label - scope - entity.name.label - settings - - foreground - #96cdfb - fontStyle - - - - - name - Keyword class - scope - keyword.declaration.class - settings - - foreground - #f28fad - fontStyle - italic - - - - name - Class name - scope - entity.name.class, meta.toc-list.full-identifier - settings - - foreground - #89dceb - fontStyle - - - - - name - Inherited class - scope - entity.other.inherited-class - settings - - foreground - #89dceb - fontStyle - italic - - - - name - Function name - scope - entity.name.function, variable.function - settings - - foreground - #96cdfb - fontStyle - italic - - - - name - Function macro - scope - entity.name.function.preprocessor - settings - - foreground - #f28fad - fontStyle - - - - - name - Macro directive - ifdef - scope - keyword.control.import - settings - - foreground - #f28fad - fontStyle - - - - - name - Constructor - scope - entity.name.function.constructor, entity.name.function.destructor - settings - - foreground - #c9cbff - fontStyle - - - - - name - Function argument - scope - variable.parameter.function - settings - - foreground - #f5e0dc - fontStyle - italic - - - - name - Function declaration - scope - keyword.declaration.function - settings - - foreground - #e8a2af - fontStyle - italic - - - - name - Library function - scope - support.function - settings - - foreground - #89dceb - fontStyle - - - - - name - Library constant - scope - support.constant - settings - - foreground - #96cdfb - fontStyle - - - - - name - Library class/type - scope - support.type, support.class - settings - - foreground - #96cdfb - fontStyle - italic - - - - name - Library variable - scope - support.other.variable - settings - - fontStyle - - - - - name - Variable function - scope - variable.function - settings - - foreground - #96cdfb - fontStyle - italic - - - - name - Variable parameter - scope - variable.parameter - settings - - foreground - #f5e0dc - fontStyle - italic - - - - name - Variable other - scope - variable.other - settings - - foreground - #d9e0ee - fontStyle - italic - - - - name - Variable field - scope - variable.other.member - settings - - foreground - #f5e0dc - fontStyle - - - - - name - Variable language - scope - variable.language - settings - - foreground - #b5e8e0 - fontStyle - - - - - name - Tag name - scope - entity.name.tag - settings - - foreground - #f8bd96 - fontStyle - - - - - name - Tag attribute - scope - entity.other.attribute-name - settings - - foreground - #ddb6f2 - fontStyle - italic - - - - name - Tag delimiter - scope - punctuation.definition.tag - settings - - foreground - #e8a2af - fontStyle - - - - - name - Markdown URL - scope - markup.underline.link.markdown - settings - - foreground - #f5e0dc - fontStyle - italic underline - - - - name - Markdown reference - scope - meta.link.inline.description - settings - - foreground - #c9cbff - fontStyle - bold - - - - name - Markdown literal - scope - comment.block.markdown, meta.code-fence, markup.raw.code-fence, markup.raw.inline - settings - - foreground - #b5e8e0 - fontStyle - italic - - - - name - Markdown title - scope - punctuation.definition.heading, entity.name.section - settings - - foreground - #96cdfb - fontStyle - bold - - - - name - Markdown emphasis - scope - markup.italic - settings - - foreground - #e8a2af - fontStyle - italic - - - - name - Markdown strong - scope - markup.bold - settings - - foreground - #e8a2af - fontStyle - bold - - - - name - Escape - scope - constant.character.escape - settings - - foreground - #f5c2e7 - fontStyle - - - - - name - Bash built-in function - scope - source.shell.bash meta.function.shell meta.compound.shell meta.function-call.identifier.shell - settings - - foreground - #f5c2e7 - fontStyle - - - - - name - Bash parameter - scope - variable.language.shell - settings - - foreground - #f28fad - fontStyle - italic - - - - name - Lua field - scope - source.lua meta.function.lua meta.block.lua meta.mapping.value.lua meta.mapping.key.lua string.unquoted.key.lua - settings - - foreground - #c9cbff - fontStyle - italic - - - - name - Lua constructor - scope - source.lua meta.function.lua meta.block.lua meta.mapping.key.lua string.unquoted.key.lua - settings - - foreground - #f2cdcd - fontStyle - - - - - name - Java constant - scope - entity.name.constant.java - settings - - foreground - #b5e8e0 - fontStyle - - - - - name - CSS property - scope - support.type.property-name.css - settings - - foreground - #f2cdcd - fontStyle - italic - - - - name - CSS constant - scope - support.constant.property-value.css - settings - - foreground - #d9e0ee - fontStyle - - - - - name - CSS suffix - scope - constant.numeric.suffix.css, keyword.other.unit.css - settings - - foreground - #b5e8e0 - fontStyle - italic - - - - name - CSS variable property - scope - variable.other.custom-property.name.css, support.type.custom-property.name.css, punctuation.definition.custom-property.css - settings - - foreground - #b5e8e0 - fontStyle - - - - - name - SCSS tag - scope - entity.name.tag.css - settings - - foreground - #c9cbff - fontStyle - - - - - name - SASS variable - scope - variable.other.sass - settings - - foreground - #b5e8e0 - fontStyle - - - - - name - Invalid - scope - invalid - settings - - foreground - #d9e0ee - background - #f28fad - fontStyle - - - - - name - Invalid deprecated - scope - invalid.deprecated - settings - - foreground - #d9e0ee - background - #ddb6f2 - fontStyle - - - - - name - Diff header - scope - meta.diff, meta.diff.header - settings - - foreground - #6e6c7e - fontStyle - - - - - name - Diff deleted - scope - markup.deleted - settings - - foreground - #f28fad - fontStyle - - - - - name - Diff inserted - scope - markup.inserted - settings - - foreground - #abe9b3 - fontStyle - - - - - name - Diff changed - scope - markup.changed - settings - - foreground - #fae3b0 - fontStyle - - - - - name - Message error - scope - message.error - settings - - foreground - #f28fad - fontStyle - - - - - uuid - 4d0379b5-ef82-467b-b8b8-365889420646 - colorSpaceName - sRGB - semanticClass - theme.dark.Catppuccin - author - BrunDerSchwarzmagier - - \ No newline at end of file diff --git a/data/kitty/diff.conf b/data/kitty/diff.conf deleted file mode 100644 index 8676fde..0000000 --- a/data/kitty/diff.conf +++ /dev/null @@ -1,30 +0,0 @@ -# vim:ft=kitty - -## name: Catppuccin-Kitty-diff-Mocha -## author: haunt98 (https://github.com/haunt98) -## license: MIT - -# foreground -> white -# background -> black -# remove -> red -# add -> green - -foreground #CDD6F4 -background #1E1E2E -title_fg #CDD6F4 -title_bg #1E1E2E -margin_bg #1E1E2E -margin_fg #CDD6F4 -removed_bg #F38BA8 -highlight_removed_bg #F38BA8 -removed_margin_bg #F38BA8 -added_bg #A6E3A1 -highlight_added_bg #A6E3A1 -added_margin_bg #A6E3A1 -filler_bg #1E1E2E -hunk_margin_bg #1E1E2E -hunk_bg #1E1E2E -search_bg #F5E0DC -search_fg #1E1E2E -select_bg #F5E0DC -select_fg #1E1E2E diff --git a/data/nvim/init.lua b/data/nvim/init.lua index ee78045..5919c1e 100644 --- a/data/nvim/init.lua +++ b/data/nvim/init.lua @@ -69,7 +69,7 @@ require("packer").startup(function() use("cocopon/iceberg.vim") -- https://github.com/catppuccin/nvim - use({ "catppuccin/nvim", as = "catppuccin" }) + use({ "catppuccin/nvim", as = "catppuccin", run = "CatppuccinCompile" }) -- Programming languages -- https://github.com/sbdchd/neoformat @@ -132,6 +132,9 @@ end require("catppuccin").setup({ transparent_background = catppuccin_transparent_background, term_colors = catppuccin_term_colors, + compile = { + enabled = true, + }, }) if vim.env.COLORTERM == "truecolor" then