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 🦐
- Host: GitHub
- URL: https://github.com/nfischer/vim-potigol
- Owner: nfischer
- License: mit
- Created: 2016-05-17T23:54:47.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2024-06-23T01:06:36.000Z (almost 2 years ago)
- Last Synced: 2025-03-25T03:51:11.336Z (about 1 year ago)
- Topics: language, potigol, vim, vim-syntax
- Language: Vim script
- Homepage:
- Size: 7.81 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 |