Skip to content

vbrand1984/ob3-vim-syntax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vim syntax highligting for Openbox theme files

Installation

Automatic

When using vim-plug, add the following lines in your ~/.vimrc file:

call plug#begin('~/.vim/plugged')
    Plug 'vbrand1984/ob3-vim-syntax'
call plug#end()

Manual

Just copy the ftdetect and syntax folders in your ~/.vim directory.

Usage

The plugin would automatically detect Openbox theming file as a themerc file in an openbox-3 directory. If you want a more general approach, add the following line in your ~/.vimrc file:

autocmd BufRead,BufNewFile *themerc set filetype=ob3

Also, you can always set the desired filetype manually by entering the following command in vim:

set ft=ob3

Authors

The original author is Dave Foster. Modified by Victor Brand (Zhuravlev).

Releases

No releases published

Packages

No packages published