https://github.com/ericglau/vim-cairo
Language support for Cairo in Vim
https://github.com/ericglau/vim-cairo
Last synced: 11 months ago
JSON representation
Language support for Cairo in Vim
- Host: GitHub
- URL: https://github.com/ericglau/vim-cairo
- Owner: ericglau
- License: epl-2.0
- Created: 2021-10-14T01:44:03.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-31T05:30:50.000Z (over 4 years ago)
- Last Synced: 2025-08-02T13:33:39.204Z (11 months ago)
- Language: Shell
- Homepage:
- Size: 389 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vim Cairo
⚠️⚠️ **THIS REPOSITORY IS DEPRECATED. SEE https://github.com/ericglau/cairo-ls/blob/main/VIM.md INSTEAD.** ⚠️⚠️
---
Language Support for [Cairo](https://www.cairo-lang.org/) in Vim.
Makes use of the [Cairo language server](https://github.com/ericglau/cairo-ls) and [LanguageClient-neovim](https://github.com/autozimu/LanguageClient-neovim).
**Note**: This is an early preview and is still in active development.
Tested on Mac OS. Probably works on Linux.
## Installation
Git clone this repo and run `./install-vim-cairo.sh`
Or if you are familiar with Vim and LSP, review the scripts and manually configure your preferred language client to use the Cairo language server which can be found by unzipping the VS Code extension's .vsix file.
## Usage
- Compile errors: automatically highlighted
- Go To Definition: put cursor over a function or imported module, then press F2 to go to its definition
- Quick Fix: put cursor over a compile error and press F3, then choose a suggested quick fix
- Hover: put cursor over a Cairo statement and press F4 to view more information (minimal support for now)
