X-Git-Url: https://git.madduck.net/etc/lazyvim.git/blobdiff_plain/bd3c4d475bab6e50b256a41ac66efc90b47cde18..9badb935b11df61bbddb3fef8f989011bd5675d0:/.config/lazyvim/lua/config/autocmds.lua diff --git a/.config/lazyvim/lua/config/autocmds.lua b/.config/lazyvim/lua/config/autocmds.lua index 4221e75..2cb07bf 100644 --- a/.config/lazyvim/lua/config/autocmds.lua +++ b/.config/lazyvim/lua/config/autocmds.lua @@ -6,3 +6,11 @@ -- -- Or remove existing autocmds by their group name (which is prefixed with `lazyvim_` for the defaults) -- e.g. vim.api.nvim_del_augroup_by_name("lazyvim_wrap_spell") + +vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, { pattern = "*/tmp_*.*_*.txt", command = "set ft=markdown" }) + +vim.api.nvim_create_autocmd({ "InsertEnter" }, { + callback = function() + require("blink.cmp").show() + end, +})