Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: consider attaching when editing new file
BufReadPost does not trigger when editing a nonexistent file, so language servers would not automatically attach when editing a new file if autostart was disabled or if the server had no associated filetypes. This fixes that by adding BufNewFile to autocommands hooked to BufReadPost.
- Loading branch information