Home > pluk-vim

pluk-vim

Pluk-vim is a project mainly written in ..., it's free.

VIM language file for the pluk language.

License

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.

You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Install

Installation

Create the Vim local directory under your home with:

mkdir -p $HOME/.vim/syntax

Copy the vala.vim file there:

cp pluk.vim $HOME/.vim/syntax/pluk.vim

Configuration

Add the following to your ~/.vimrc:

autocmd BufRead .pluk set efm=%f:%l.%c-%[%^:]%#: %t%[%^:]%#: %m au BufRead,BufNewFile .pluk setfiletype pluk

The syntax file additionally supports following options in ~/.vimrc

" Disable plukdoc syntax highlight "let pluk_ignore_plukdoc = 1

" Enable comment strings let pluk_comment_strings = 1

" Highlight space errors let pluk_space_errors = 1 " Disable trailing space errors "let pluk_no_trail_space_error = 1 " Disable space-tab-space errors let pluk_no_tab_space_error = 1

" Minimum lines used for comment syncing (default 50) "let pluk_minlines = 120

Previous:sc-util