Skip to content

Commit

Permalink
Add tsc.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
primeapple committed Nov 15, 2024
1 parent 6f63cbb commit ed0405e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions .config/nvim/lazy-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"telescope-zf-native.nvim": { "branch": "master", "commit": "5721be27df11a19b9cd95e6a4887f16f26599802" },
"telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
"todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" },
"tsc.nvim": { "branch": "main", "commit": "82c37ebfe45d30763db6f45b54e18f1e485bb52c" },
"vim-matchup": { "branch": "master", "commit": "57d3a4bbf4c9a0ab73f2cb90c4a9c93fef4c420f" },
"vim-tpipeline": { "branch": "master", "commit": "72a624f97730059bab359cb0b58a23433bfec308" },
"vim-wordmotion": { "branch": "master", "commit": "81d9bd298376ab0dc465c85d55afa4cb8d5f47a1" }
Expand Down
5 changes: 5 additions & 0 deletions .config/nvim/lua/plugins/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
return {
{
import = 'plugins.languages',
},
}
10 changes: 10 additions & 0 deletions .config/nvim/lua/plugins/languages/typescript.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
local is_workstation = require('toni.utils').is_workstation

return {
'dmmulroy/tsc.nvim',
cond = is_workstation,
ft = { 'typescript', 'javascript', 'typescriptreact', 'javascriptreact' },
opts = {
-- enable_progress_notifications = false,
},
}

0 comments on commit ed0405e

Please sign in to comment.