Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add tsx treesitter to typescript lang module #48

Merged

Conversation

appelgriebsch
Copy link
Contributor

After cleaning up my default treesitter modules (and move most into language specific plugins), I noticed that the typescript module is missing on the tsx parser (for typescript based jsx files)...

@@ -4,7 +4,7 @@ return {
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
table.insert(opts.ensure_installed, "typescript")
table.insert(opts.ensure_installed, { "typescript", "tsx" })
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be vim.list_extend

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed. my bad. was later in evening though ;)

@appelgriebsch appelgriebsch force-pushed the feature/tsx-treesitter-typescript-module branch from 9bdf761 to e766237 Compare January 12, 2023 09:30
@folke folke merged commit a33d906 into LazyVim:main Jan 12, 2023
@folke
Copy link
Collaborator

folke commented Jan 12, 2023

Thanks!

ofrades pushed a commit to ofrades/LazyVim that referenced this pull request May 30, 2023
@appelgriebsch appelgriebsch deleted the feature/tsx-treesitter-typescript-module branch October 7, 2023 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants