OrangeT / vim-csharp

Enhancement's to Vim's C-Sharp Functionality
117 stars 39 forks source link

How about to separate repository for syntax/aspx? #24

Open mattn opened 10 years ago

mattn commented 10 years ago

Someone uses aspx with vb. But unfortunately, vim-csharp doesn't work with aspx for vb. How about to separate repository for syntax/aspx.vim ?

Or, handle file extension vb/cs exists?

if filereadable(expand("%:p") . ".vb")
  syn include @aspnetAddLang syntax/vbnet.vim
  unlet b:current_syntax
elseif filereadable(expand("%:p") . ".cs")
  syn include @aspnetAddLang syntax/cs.vim
  unlet b:current_syntax
endif
kianryan commented 9 years ago

I'd consider this if there's a reasonable VB syntax file, which I've not seen yet.