edgedb-vim
edgedb-vim copied to clipboard
Cloned repo to ~/.vim/pack but Syntax highlighting does not work
I cloned this repo using git clone https://github.com/edgedb/edgedb-vim ~/.vim/pack/edgedb/start/edgedb but when I opened default.esdl, syntax highlighting does not work on my neovim.

What should be the filetype?
I tried :set ft=edgeql but did not work.
I had to
set ft=edgeql
source ~/.vim/pack/edgedb/start/edgedb/syntax/edgeql.vim
and it worked. Let me investigate why the syntax was not souced automatically.
The filetype can be set easily with an autocmd.
Found the solution. Let me create a pull request.
Pull request https://github.com/edgedb/edgedb-vim/pull/8