Skip to content

Vim syntax highlighting script for the programming language Oberon

Notifications You must be signed in to change notification settings

kekcleader/vim-oberon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

oberon.vim is a simple syntax file to get a colored view of Oberon modules (*.Mod files).

Vim Oberon syntax highlight

ПО-РУССКИ — СМ. НИЖЕ

Usage

  1. Put the oberon.vim inside Vim syntax directory. Usually it is ~/.vim/syntax. If the directory does not exist, create it.

  2. Add the following lines somewhere in your .vimrc:

au BufNewFile,BufRead *.Mod set filetype=oberon
au BufNewFile,BufRead *.cp set filetype=oberon

The .vimrc file is usually located in your home directory.

You can use the command vim ~/.vimrc.


oberon.vim реализует подсветку синтаксиса языка Оберон (файлы *.Mod) в редакторе Vim.

Использование

  1. Поместите oberon.vim в каталог с синтаксическими файлами Vim. Обычно это ~/.vim/syntax. Если этот каталог не существует, создайте его.

  2. Впишите следующий текст где-нибудь в файле .vimrc:

au BufNewFile,BufRead *.Mod set filetype=oberon
au BufNewFile,BufRead *.cp set filetype=oberon

Файл .vimrc обычно находится в вашем домашнем каталоге.

Можно воспользовать командой vim ~/.vimrc.

About

Vim syntax highlighting script for the programming language Oberon

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published