mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-24 17:58:46 +02:00
enc: update config autocmd
This commit is contained in:
parent
5dc5c723b2
commit
c2fbd57469
2 changed files with 8 additions and 8 deletions
|
@ -3,12 +3,12 @@ local api = vim.api
|
|||
-- General Settings
|
||||
api.nvim_create_augroup("_general_settings", { clear = true })
|
||||
|
||||
api.nvim_create_autocmd("TextYankPost", {
|
||||
group = "_general_settings",
|
||||
callback = function()
|
||||
require("vim.highlight").on_yank({ higroup = "Visual", timeout = 200 })
|
||||
end,
|
||||
})
|
||||
-- api.nvim_create_autocmd("TextYankPost", {
|
||||
-- group = "_general_settings",
|
||||
-- callback = function()
|
||||
-- require("vim.highlight").on_yank({ higroup = "Visual", timeout = 200 })
|
||||
-- end,
|
||||
-- })
|
||||
|
||||
api.nvim_create_autocmd("FileType", {
|
||||
group = "_general_settings",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue