mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 00:49:03 +02: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) |
||
---|---|---|
.. | ||
compat | ||
extras | ||
lsp | ||
coding.lua | ||
colorscheme.lua | ||
editor.lua | ||
formatting.lua | ||
init.lua | ||
linting.lua | ||
treesitter.lua | ||
ui.lua | ||
util.lua | ||
xtras.lua |