aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Patti <feoh@feoh.org>2023-08-29 06:53:56 -0400
committerGitHub <noreply@github.com>2023-08-29 06:53:56 -0400
commit1a971cbdcffdc204e073d8142e5491e1f976a3eb (patch)
tree46c3eb0c73b25b0a7a4c72458f095449b0556ed3
parent01a1ebed38c5ef28cfe1409f8589bce60b7b727b (diff)
parenta347bb401e53e3c89ff7cc484c44864af5edcae1 (diff)
Merge pull request #410 from gangelop/TSInstall-javascript
treesitter: ensure 'javascript' installed along with typescript and tsx
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 1332c3b..ad993ea 100644
--- a/init.lua
+++ b/init.lua
@@ -313,7 +313,7 @@ vim.keymap.set('n', '<leader>sd', require('telescope.builtin').diagnostics, { de
-- See `:help nvim-treesitter`
require('nvim-treesitter.configs').setup {
-- Add languages to be installed here that you want installed for treesitter
- ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim' },
+ ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'javascript', 'typescript', 'vimdoc', 'vim' },
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
auto_install = false,