This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/Logtalk/wenv/vim/NOTES.txt
pmoura e75e406f84 Logtalk 2.29.2 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1773 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
2007-01-10 12:46:10 +00:00

41 lines
1.5 KiB
Plaintext

=================================================================
Logtalk - Object oriented extension to Prolog
Release 2.29.2
Copyright (c) 1998-2007 Paulo Moura. All Rights Reserved.
=================================================================
This directory contains files that provides syntax highlighting, code
folding, and code completion for editing Logtalk source files with the
text editor Vim 7.0 or later version:
http://www.vim.org/
Recent versions of Vim already contain support for Logtalk. However,
this directory may contain an updated syntax file. If that is the
case, install the syntax file by performing the following steps:
1. Copy the file "syntax/logtalk.vim" to the "syntax" sub-directory in
your VIM installation directory (replacing any existing older file).
2. Add the following entries to the "filetype.vim" configuration file
(only if not already present):
" Logtalk source files
au BufNewFile,BufRead *.lgt setf logtalk
" Logtalk config files
au BufNewFile,BufRead *.config setf logtalk
3. Copy the file "completion/logtalk.dict" to some place convenient in
your home folder and then type e.g.
:setlocal dict=</path/to/logtalk.dict>
You may then perform code completion by typing CTRL-X, CTRL-K and then
CTRL-P or CTRL-N to cycle between all the completion choices.
4. Copy the file "indent/logtalk.vim" to the "indent" sub-directory in
your VIM installation directory (replacing any existing older file).