mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-11-18 00:26:25 +00:00
Update comments for util attribution
This commit is contained in:
parent
f07fe8fad0
commit
8bc5c38067
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user