dotfiles/home/private_dot_config/lvim/lua/autocommands.lua

9 lines
239 B
Lua
Raw Normal View History

2022-06-20 11:22:38 -05:00
-- Is this necessary?
vim.api.nvim_create_autocmd("FileType", {
pattern = "zsh",
callback = function()
-- let treesitter use bash highlight for zsh files as well
require("nvim-treesitter.highlight").attach(0, "bash")
end,
})