On 09/16/2015 09:50 AM, Boris Vassilev wrote:
> Hello Paulo (and everyone),
>
> this is indeed a proper "drop-in" replacement, and it seems to handle
> "vanilla" Prolog much better than what I have been using until now.
> Thanks a bunch!
>
> The configuration files look a bit easier to understand and modify than
> the ones I was using previously, too.
You probably won't get the realtime semantic colouring, documentation
info, jumping to called code, etc. You might using the techniques I'm
using for the SWISH editor if you can establish a socket connection from
vim to Prolog. The alternative is probably what I did when I was using
Visual Studio for the Windows port: use your daily editor to write the
bunch of the code and next use the dedicated editor for fixing compiler
errors and debugging.
Cheers --- Jan
> > On 15/09/2015, at 12:15, Boris Vassilev <
boris.v...@gmail.com <mailto:
boris.v...@gmail.com>> wrote:
> >
> > Hello,
> >
> > I was finally provoked to ask that question:
> >
> > Does anyone use vim as a primary editor with SWI-Prolog? I realize it is not optimal. There seems to be a built-in syntax file for Prolog, but it is very (very) limited.
>
> You can use Logtalk's vim support for Prolog files as well:
>
>
https://github.com/LogtalkDotOrg/logtalk3/tree/master/coding/vim
>
> Besides syntax highlighting, it also provides code completion.
>
> > There is also this one repository on github (
https://github.com/adimit/prolog.vim), but as it is at the moment it
> does have some issues.
> >
> > If anyone has setup their vim and are happy with it, can you please share it? It will be highly appreciated. Even syntax highlighting that just works (tm) with SWI V7 would already be great.
>
> The bundle above supports ISO Prolog features and some de facto
> standard ones (besides, of course, Logtalk features). But feel free
> to use it as a basis for a SWI-Prolog specific one. Just be sure
> that you named after SWI. Don't use just "prolog" as different
> Prolog systems provide different set of built-ins and syntax
> extensions (as you know).
>
> Cheers,
>
> Paulo
>
> P.S. For support for other text editors and syntax highlighters see:
>
>
https://github.com/LogtalkDotOrg/logtalk3/tree/master/coding
>
>
> > If someone has a good argument towards "Don't use vim for Prolog", I will accept this as an answer too.
> >
> > Thank you,
> > Boris
> >
> > Currently in the EEST time zone: This is UTC +3:00 (and I sleep at night)
> > Save our in-boxes!
http://emailcharter.org
> >
> > --
> > You received this message because you are subscribed to the Google Groups "SWI-Prolog" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email
toswi-prolog...@googlegroups.com
> <mailto:
swi-prolog%2Bunsu...@googlegroups.com>.
> > Visit this group athttp://
groups.google.com/group/swi-prolog.
> > For more options, visithttps://
groups.google.com/d/optout.
>
> -----------------------------------------------------------------
> Paulo Moura
> Logtalk developer
>
> Email: <mailto:
pmo...@logtalk.org <mailto:
pmo...@logtalk.org>>
> Web: <
http://logtalk.org/>
> -----------------------------------------------------------------
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "SWI-Prolog" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
swi-prolog+...@googlegroups.com
> <mailto:
swi-prolog+...@googlegroups.com>.