Skip to content

Commit

Permalink
chore: update stackoverflow reference
Browse files Browse the repository at this point in the history
  • Loading branch information
nullchilly committed Sep 7, 2023
1 parent 8202348 commit 9f60e81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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!
2 changes: 1 addition & 1 deletion lua/catppuccin/lib/hashing.lua
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 9f60e81

Please sign in to comment.