/Sage-Vim

Plugin for NeoVim delivering support for sage

Primary LanguageVim Script

Vim plugin for SageMath

Note: this Plugin is based on the one by saliola and is only differing to the extent of not depending on tmux and vim-tbone. Instead it offers a REPL interface using repl.nvim.

Note: Multi-line parsing to Sage does not work out of the box! For that one must deactivate the 'autoindent' feature of IPython. This can be done by typing ´%autoindent´ in Sage. You can also add this to your startup-script s.t. this is done automatically every time you start Sage.

Syntax highlighting:

  • Uses the default syntax highlighting for python files, except that the docstrings use some RST highlighting
  • This is done by creating a syntax file in after

Folding:

  • modified the standard python folding to fold documentation strings