dotfiles/home/private_dot_config/lvim/lua/autocommands.lua
2022-06-20 11:22:38 -05:00

8 lines
239 B
Lua

-- 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,
})