Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.07 KB

File metadata and controls

29 lines (19 loc) · 1.07 KB

Design/Library Exchange Formats syntax files

The comtent of this repository is based on the LEF_DEF_syntax syntax files created by Levon Ohanyan that you can find on vim.org.

This copy simplifies the installation using a plugin manager (like Vundle or Plug).

Some highlight group have been modified to use more common ones.


Original readme


How to install DEF (Design Exchange Format) and LEF (Library Exchange Format) syntax files:

For UNIX:

  1. Copy syntax/* to $HOME/.vim/syntax/
  2. Copy ftdetect/* to /home/.vim/ftdetect/
  3. Add to your .vimrc file following lines:
    autocmd FileType lef so ~/.vim/syntax/lef.vim
    autocmd FileType def so ~/.vim/syntax/def.vim

For Windows:

  1. Copy syntax/* to C:\Program Files (x86)\Vim\vimfiles\syntax\
  2. Copy ftdetect/* to C:\Program Files (x86)\Vim\vimfiles\ftdetect\