Skip to content

Commit 2705dda

Browse files
committed
add languages
1 parent 695bb9a commit 2705dda

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

init.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,9 @@ require('lazy').setup({
947947
main = 'nvim-treesitter.configs', -- Sets main module to use for opts
948948
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
949949
opts = {
950-
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' },
950+
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc', 'typescript', 'javascript', 'vue', 'scss', 'json', 'yaml' },
951+
-- Autoinstall languages that are not installed
952+
auto_install = true,
951953
highlight = {
952954
enable = true,
953955
-- Some languages depend on vim's regex highlighting system (such as Ruby) for indent rules.

0 commit comments

Comments
 (0)