Use tsx tree-sitter queries for tsx files
These changes revert the changes made in 7adad4fa58
This commit is contained in:
parent
7adad4fa58
commit
e60d816097
2 changed files with 1 additions and 5 deletions
|
|
@ -12,10 +12,6 @@ local ansible_keywords = {
|
||||||
}
|
}
|
||||||
|
|
||||||
vim.filetype.add {
|
vim.filetype.add {
|
||||||
extension = {
|
|
||||||
tsx = 'typescript'
|
|
||||||
},
|
|
||||||
|
|
||||||
pattern = {
|
pattern = {
|
||||||
['playbook*.y(a?)ml'] = 'yaml.ansible',
|
['playbook*.y(a?)ml'] = 'yaml.ansible',
|
||||||
['site*.y(a?)ml'] = 'yaml.ansible',
|
['site*.y(a?)ml'] = 'yaml.ansible',
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
local tree_sitter_config = require('nvim-treesitter')
|
local tree_sitter_config = require('nvim-treesitter')
|
||||||
|
|
||||||
local ensure_installed = {
|
local ensure_installed = {
|
||||||
'lua', 'yaml', 'bash', 'python', 'javascript', 'typescript', 'jsx', 'css', 'scss',
|
'lua', 'yaml', 'bash', 'python', 'javascript', 'typescript', 'jsx', 'tsx', 'css', 'scss',
|
||||||
'html', 'htmldjango', 'sql', 'json', 'dockerfile', 'markdown', 'rst', 'tmux',
|
'html', 'htmldjango', 'sql', 'json', 'dockerfile', 'markdown', 'rst', 'tmux',
|
||||||
'xml', 'toml', 'editorconfig', 'diff', 'gitcommit', 'git_config', 'gitignore',
|
'xml', 'toml', 'editorconfig', 'diff', 'gitcommit', 'git_config', 'gitignore',
|
||||||
'gitattributes', 'make', 'nginx', 'vim', 'vimdoc', 'passwd', 'regex'
|
'gitattributes', 'make', 'nginx', 'vim', 'vimdoc', 'passwd', 'regex'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue