An open API service indexing awesome lists of open source software.

https://github.com/nfischer/vim-potigol

Vim runtime files for the Potigol programming language 🦐
https://github.com/nfischer/vim-potigol

language potigol vim vim-syntax

Last synced: 12 months ago
JSON representation

Vim runtime files for the Potigol programming language 🦐

Awesome Lists containing this project

README

          

# vim-potigol

Vim runtime files for the programming language [potigol](http://potigol.github.io)

## What's potigol?

A programming language based on Portuguese keywords.

## Why?

It's a shame that most programming languages are based on English keywords
(i.e. `if`, `else`, `function`, etc.). I found this language and wanted to
experiment with it a bit.

For me, it's difficult to type some of the Portuguese words, and I make lots of
mistakes. This plugin provides helpful shortcuts and syntax highlighting to help
me get my code looking the way I want quickly.

## Installation

### Using [vim-plug](https://github.com/junegunn/vim-plug) (recommended)

Put the following lines in your `vimrc` file:

```Vim
Plug 'nfischer/vim-potigol' " inside your vim-plug section

syntax on " after your vim-plug section
set background=dark " recommended for terminals with a dark background
```

## Shortcuts for non-English words

### Don't want these shortcuts?

Put this in your `vimrc` to disable them:

```viml
let g:potigol_abbreviations = 0
```

| Type this... | To get this... |
|--------------|----------------|
| faca | faça |
| entao | então |
| ate | até |
| senao | senão |
| senaose | senãose |
| aleatorio | aleatório |
| posicao | posição |
| contem | contém |
| maiusculo | maiúsculo |
| minusculo | minúsculo |
| cabeca | cabeça |
| ultimo | último |
| imutavel | imutável |