'Have Omnisharp-vim work with .razor files

Can you have Omnisharp-vim work with .razor files? I.e. the @code bits. I've managed to get syntax highlighting on the rest of it by doing :setf html but how do you get C# intellisense on the rest of it? I'm using neovim on Ubuntu WSL.



Solution 1:[1]

You should consider adding this vim-polygot plugin. It worked for me and is superfast. Let me know whether or not it helps.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 CharaD7