vim-astro
vim-astro copied to clipboard
Astro language (.astro files) indentation and syntax support in Vim or Neovim. 🚀🧑🚀✨
`tsconfig.json` files are actually JSONC. This commit removes lines like the following before parsing the content as JSON: ``` // some comment /* * foo * bar */ ``` but...
Every time I open an astro file in Nvim with this plugin, I get an error below. ``` Error opening file: vim/_editor.lua:0: nvim_exec2()..BufReadPost Autocommands for "*.astro"..FileType Autocommands for "*"..function 1_LoadFTPlugin[19]..script...
Hey @wuelnerdotexe, I started as Port of this Project to upstream VIM https://github.com/vim/vim/pull/14561 If you want you can help me out to get it working as expected See you there....
Neovim's treesitter support gives you both highlighting and indentation. See https://github.com/nvim-treesitter/nvim-treesitter/issues/1763 That might be worth mentioning in the README.
The syntax highlighting seems to break after the first use of a self-closing ``: Using NVIM v0.9.2.
This happens when I use `{...}` 
Hi, first thanks for putting this plugin together! It's very helpful to have. I wanted to also report what I think is a performance issue related to the plugin: it...
Issue initially reported on https://github.com/neovim/neovim/issues/32422 ### Problem Neovim shows an error and fails to syntax highlight on Astro files when a trailing comma is left in the `tsconfig.json` file. ###...
I had to do the following: 1. clone this repo into `~/.vim/pack/plugins/start` 2. add to vimrc: ```vim autocmd BufNewFile,BufRead *.astro set syntax=astro ```