mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-22 04:21:08 +00:00
## Problem Sometimes angular treesitter didn't get started, e.g. when creating a new file. ## Solution - Add `BufNew` event to attach angular treesitter. - Change `BufRead` to `BufReadPost` for better readability. ### Related Neovim docs - [BufRead / BufReadPost docs](https://neovim.io/doc/user/autocmd.html#BufRead) - [BufNew](https://neovim.io/doc/user/autocmd.html#BufNew) |
||
|---|---|---|
| .. | ||
| lazyvim | ||