Skip to content

Commit 97ed05c

Browse files
committed
Linter and prettier for TS
1 parent 2c58550 commit 97ed05c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

init.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,8 @@ require('lazy').setup({
773773
formatters_by_ft = {
774774
lua = { 'stylua' },
775775
htmlangular = { 'prettier' },
776+
angular = { 'prettier' },
777+
typescript = { 'prettier', 'eslint_d' },
776778
-- Conform can also run multiple formatters sequentially
777779
-- python = { "isort", "black" },
778780
--
@@ -957,6 +959,8 @@ require('lazy').setup({
957959
},
958960
config = function()
959961
vim.keymap.set('n', '<leader>gg', '<cmd>LazyGit<CR>', { desc = 'LazyGit' })
962+
963+
require('telescope').load_extension 'lazygit'
960964
end,
961965
},
962966

0 commit comments

Comments
 (0)