Skip to content

Commit

Permalink
Format TypeScript with Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
dietrichm committed Sep 16, 2024
1 parent c533447 commit df1f0bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nvim/.config/nvim/lua/dietrichm/formatters.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ formatter.setup {
require('formatter.filetypes.python').isort,
require('formatter.filetypes.python').black,
},
typescript = {
require('formatter.filetypes.typescript').prettier,
},
},
}

Expand Down

0 comments on commit df1f0bf

Please sign in to comment.