Skip to content

Raku/vim-raku

 
 

Repository files navigation

vim-raku

Improved support for Raku in Vim.

Installation

Once installed, all files ending in .raku, .rakumod, .rakudoc, and .rakutest (and also .pl6, .pm6, .p6, and .t6 for legacy purposes) will make use of the plugin's features.

With a plugin manager

Installation of this plugin can be done via any of the available plugin managers, such as Pathogen, vim-plug, vundle or any other one.

Using Vim's built-in package management

Clone this repository in vim autoload packages directory:

$ # installation
$ git clone https://github.com/Raku/vim-raku.git ~/.vim/pack/vim-raku-pack/start/vim-raku

$ # testing
$ vim /tmp/example.raku +'syntax' +'q'

For more details follow those instructions:

$ vim +'help packages' +'only'

Configuring optional features

Not all features are enabled by default. This is in part due to them still being considered in testing, or because they may influence your regular workflow too much. These can be enabled by setting a certain variable to a truthy value.

Unicode ops

vim-raku can use Vim's abbreviation feature to convert ASCII based operators to their Unicode equivalents on the fly. To enable this feature, add the following line to your vimrc file:

let g:raku_unicode_abbrevs = 1

License

This project is available under the MIT License.

About

Vim runtime files for Raku support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 62.2%
  • Vim Script 29.7%
  • Raku 7.3%
  • Perl 0.8%