Skip to content

Commit 1a971cb

Browse files
authored
Merge pull request #410 from gangelop/TSInstall-javascript
treesitter: ensure 'javascript' installed along with typescript and tsx
2 parents 01a1ebe + a347bb4 commit 1a971cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ vim.keymap.set('n', '<leader>sd', require('telescope.builtin').diagnostics, { de
313313
-- See `:help nvim-treesitter`
314314
require('nvim-treesitter.configs').setup {
315315
-- Add languages to be installed here that you want installed for treesitter
316-
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim' },
316+
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'javascript', 'typescript', 'vimdoc', 'vim' },
317317

318318
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
319319
auto_install = false,

0 commit comments

Comments
 (0)