diff --git a/templates/nvim/lua/filetype.lua.j2 b/templates/nvim/lua/filetype.lua.j2 index a5cf2f1..2066b7c 100644 --- a/templates/nvim/lua/filetype.lua.j2 +++ b/templates/nvim/lua/filetype.lua.j2 @@ -12,10 +12,6 @@ local ansible_keywords = { } vim.filetype.add { - extension = { - tsx = 'typescript' - }, - pattern = { ['playbook*.y(a?)ml'] = 'yaml.ansible', ['site*.y(a?)ml'] = 'yaml.ansible', diff --git a/templates/nvim/lua/tree-sitter.lua.j2 b/templates/nvim/lua/tree-sitter.lua.j2 index 1ee1701..7f5833e 100644 --- a/templates/nvim/lua/tree-sitter.lua.j2 +++ b/templates/nvim/lua/tree-sitter.lua.j2 @@ -5,7 +5,7 @@ local tree_sitter_config = require('nvim-treesitter') 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', 'xml', 'toml', 'editorconfig', 'diff', 'gitcommit', 'git_config', 'gitignore', 'gitattributes', 'make', 'nginx', 'vim', 'vimdoc', 'passwd', 'regex'