3

What is the usual suffix for a linker script so that VIM will use syntax-highlighting on it?

Matthew Hoggan
  • 7,402
  • 16
  • 75
  • 140

1 Answers1

4

It seems to be .ld, only from what I see Vim doesn't come (at least mine doesn't, 7.3.) with the syntax files for it. Try the ones offered for download here.

Rook
  • 60,248
  • 49
  • 165
  • 242
  • VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Apr 16 2010 13:34:36) does support it on Ubuntu 10.04 LTS – Matthew Hoggan Mar 08 '12 at 05:17
  • 1
    It doesn't seem to very good syntax highlighting. ABSOLUTE(.); colours the opening and closing parentheses differently! – PatB Mar 10 '20 at 13:51