Fixed stylua formatting

This commit is contained in:
dezlymacauley 2024-03-08 22:46:51 +02:00
parent d9b310b661
commit 50b37a91cf

View file

@ -197,7 +197,7 @@ vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper win
-- See `:help vim.highlight.on_yank()`
-- Choose your own highlight color: value in hexidecimals
local highlight_color = "#40005b"
local highlight_color = '#40005b'
-- Define how long the highlight should appear: value is in milliseconds
local highlight_timeout = 300
@ -208,8 +208,8 @@ vim.api.nvim_create_autocmd('TextYankPost', {
group = vim.api.nvim_create_augroup('kickstart-highlight-yank', { clear = true }),
callback = function()
-- Set highlight color and timeout
vim.cmd(string.format("highlight YankHighlight guibg=%s ctermbg=0", highlight_color))
vim.highlight.on_yank({ higroup = "YankHighlight", timeout = highlight_timeout })
vim.cmd(string.format('highlight YankHighlight guibg=%s ctermbg=0', highlight_color))
vim.highlight.on_yank { higroup = 'YankHighlight', timeout = highlight_timeout }
end,
})