Skip to content

A vim plugin using the language server protocol to communicate with a prolog server

License

Notifications You must be signed in to change notification settings

wsdjeg/prolog-vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This plugin is not ready for production use!

VIM-Plugin for prolog

This plugin is the result of a master internship at the University of Würzburg. It uses the Language Server Protocol v2.x to provide a simple autocompletion for prolog in vim.

The plugin is splitted into three parts:

  • The VIM plugin in autoload, ftdetect and ftplugin. It handles the filetype, starts the python scripts and sets the omnifunc for autocompletion.
  • The python part of the plugin in script. It is used start the language server and handles the communication.
  • The prolog language server in script/server. The server is used to analyze the prolog source files and provide a simple autocomplete functionality.

Instalation

Requirements:

  • SWI-Prolog (Tested with Version 6.6.6)
  • A VIM-Version with python3 support.

Copy the directory to ~.vim/bundle/ and add the following line to your ~.vimrc:

set runtimepath+=~/.vim/bundle/prolog-vim

You can also use a plugin manager like Vundle to install the plugin.

Plugin LukasLeppich/prolog-vim

About

A vim plugin using the language server protocol to communicate with a prolog server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Prolog 60.8%
  • Python 33.0%
  • Vim Script 6.2%