> For the complete documentation index, see [llms.txt](https://notes.eliasnorrby.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.eliasnorrby.com/vim/tsc-quickfix.md).

# Populate quickfix list with tsc errors

Customize `errorformat` and set `makeprg` to `tsc`:

```vim
set errorformat=%f\\(%l\\,%c\\):\ error\ %m
set makeprg=npx\ tsc\ --noEmit\ --pretty\ false
```

Then run `make` to populate the quickfix list.
