mirror of
https://github.com/catppuccin/nvim
synced 2024-09-16 13:24:08 +02:00
chore: update stackoverflow reference
This commit is contained in:
parent
82023485fe
commit
9f60e810ed
2 changed files with 2 additions and 2 deletions
2
.github/ISSUE_TEMPLATE/config.yml
vendored
2
.github/ISSUE_TEMPLATE/config.yml
vendored
|
@ -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!
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue