diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 3a22832d..133a9bb2 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -2,4 +2,4 @@ blank_issues_enabled: false contact_links: - name: Question url: https://discord.com/servers/catppuccin-907385605422448742 - about: Join our discord server for real-time answer and more! + about: Join our discord server for real-time answers and more! diff --git a/lua/catppuccin/lib/hashing.lua b/lua/catppuccin/lib/hashing.lua index aa29c235..59c737a9 100644 --- a/lua/catppuccin/lib/hashing.lua +++ b/lua/catppuccin/lib/hashing.lua @@ -1,7 +1,7 @@ local M = {} local B = bit or bit32 or require "catppuccin.lib.vim.bit" -local hash_str = function(str) -- djb2, https://stackoverflow.com/questions/7666509/hash-function-for-string +local hash_str = function(str) -- djb2, https://stackoverflow.com/a/7666577/12356622 local hash = 5381 for i = 1, #str do hash = B.lshift(hash, 5) + hash + string.byte(str, i)