From fb1a3c11710d049d8d711506c8468c7e1a097adc Mon Sep 17 00:00:00 2001 From: Null Chilly Date: Sun, 23 Oct 2022 21:34:45 +0700 Subject: [PATCH] chore(treesitter): Improve deprecation message --- .editorconfig | 1 - README.md | 4 ++-- lua/catppuccin/groups/integrations/treesitter.lua | 4 +++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.editorconfig b/.editorconfig index 213902e..fe7a099 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,7 +4,6 @@ root = true - [*] end_of_line = lf charset = utf-8 diff --git a/README.md b/README.md index 6524576..0ab70dd 100644 --- a/README.md +++ b/README.md @@ -46,8 +46,6 @@ This port of Catppuccin is special because it was the first one and the one that nullchilly/amoled -Share your custom flavour here! https://github.com/catppuccin/nvim/discussions/323 - Configuration: ```lua require("catppuccin").setup { @@ -76,6 +74,8 @@ Configuration: https://github.com/ayamir/nvimdots/blob/main/lua/modules/ui/confi +Share your custom flavour here! https://github.com/catppuccin/nvim/discussions/323 + # Features diff --git a/lua/catppuccin/groups/integrations/treesitter.lua b/lua/catppuccin/groups/integrations/treesitter.lua index 26c1faf..859a234 100644 --- a/lua/catppuccin/groups/integrations/treesitter.lua +++ b/lua/catppuccin/groups/integrations/treesitter.lua @@ -11,7 +11,7 @@ function M.get() vim.notify( [[Catppuccin (info): nvim-treesitter integration requires neovim 0.8 -If you want to stay on nvim 0.7, disable the integration, or pin catppuccin tag to v0.2.4 and nvim-treesitter to 4cccb6f494eb255b32a290d37c35ca12584c74d0. +If you want to stay on nvim 0.7, either disable the integration or pin catppuccin tag to v0.2.4 and nvim-treesitter commit to 4cccb6f494eb255b32a290d37c35ca12584c74d0. ]], vim.log.levels.INFO ) @@ -122,6 +122,8 @@ If you want to stay on nvim 0.7, disable the integration, or pin catppuccin tag ["@tag.attribute"] = { fg = cp.teal, style = { "italic" } }, -- Tags like html tag names. ["@tag.delimiter"] = { fg = cp.sky }, -- Tag delimiter like < > / + -- Language specific: + -- toml ["@property.toml"] = { fg = cp.blue }, -- Differentiates between string and properties