Update comments for util attribution

This commit is contained in:
ViViDboarder 2021-09-30 11:00:09 -07:00
parent f07fe8fad0
commit 8bc5c38067
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
-- Utils taken from https://github.com/zzzeyez/dots/blob/master/nvim/lua/utils.lua
-- luacheck: globals packer_plugins
local M = {}
-- Utils taken from https://github.com/zzzeyez/dots/blob/master/nvim/lua/utils.lua
-- Key mapping
function M.map(mode, key, result, opts)
vim.fn.nvim_set_keymap(
@ -28,6 +28,8 @@ function M.get_color(synID, what, mode)
return vim.fn.synIDattr(vim.fn.synIDtrans(vim.fn.hlID(synID)), what, mode)
end
-- end zzzeyez utils
-- Create an autocmd
function M.autocmd(group, cmds, clear)
clear = clear == nil and false or clear