diff --git a/templates/nvim/lua/filetype.lua.j2 b/templates/nvim/lua/filetype.lua.j2 index 2066b7c..a5cf2f1 100644 --- a/templates/nvim/lua/filetype.lua.j2 +++ b/templates/nvim/lua/filetype.lua.j2 @@ -12,6 +12,10 @@ local ansible_keywords = { } vim.filetype.add { + extension = { + tsx = 'typescript' + }, + pattern = { ['playbook*.y(a?)ml'] = 'yaml.ansible', ['site*.y(a?)ml'] = 'yaml.ansible',