Closed mcpeng closed 2 years ago
Is yats.vim possible to detect embedded typescript in vue component?
<script lang="ts"> // ... </script> <script setup lang="ts"> // ... </script>
I'm using coc-volar, yats.vim, vim-javascript now. coc-volar can detect that correctly, but if I use vim-javascript, it detects that as javascript and overwrites coc-volar's detection wrongly, I hope yats.vim can detect that correctly.
yats.vim
coc-volar
vim-javascript
It is supported in vim-vue. https://github.com/posva/vim-vue/blob/master/syntax/vue.vim#L48
Is yats.vim possible to detect embedded typescript in vue component?
I'm using coc-volar,
yats.vim
, vim-javascript now.coc-volar
can detect that correctly, but if I usevim-javascript
, it detects that as javascript and overwritescoc-volar
's detection wrongly, I hopeyats.vim
can detect that correctly.