diff options
author | christianchiarulli <[email protected]> | 2021-08-10 15:01:26 -0400 |
---|---|---|
committer | christianchiarulli <[email protected]> | 2021-08-10 15:01:26 -0400 |
commit | a6a10e3fdbcfea9d8600772b91e45fb19084a390 (patch) | |
tree | d73dd44962792cd3eb86b2a5bd3e2878f768e648 /lua/core/autocmds.lua | |
parent | 9a68500333660af76a2b7e75c3d7dcd38f8481b2 (diff) |
bring back behavior we used to get from astronauta
Diffstat (limited to 'lua/core/autocmds.lua')
-rw-r--r-- | lua/core/autocmds.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lua/core/autocmds.lua b/lua/core/autocmds.lua index 62c05802..c00e4ba7 100644 --- a/lua/core/autocmds.lua +++ b/lua/core/autocmds.lua @@ -3,6 +3,11 @@ local autocommands = {} lvim.autocommands = { _general_settings = { { + "Filetype", + "*", + "lua require('utils.ft').do_filetype(vim.fn.expand(\"<amatch>\"))", + }, + { "TextYankPost", "*", "lua require('vim.highlight').on_yank({higroup = 'Search', timeout = 200})", |