Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lunacookies/vim-swift
A Swift syntax plugin for Vim that aims to match Xcode’s level of detail (WIP)
https://github.com/lunacookies/vim-swift
swift vim vim-plugin
Last synced: 2 months ago
JSON representation
A Swift syntax plugin for Vim that aims to match Xcode’s level of detail (WIP)
- Host: GitHub
- URL: https://github.com/lunacookies/vim-swift
- Owner: lunacookies
- License: isc
- Created: 2020-01-31T10:59:03.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-02T17:54:33.000Z (almost 3 years ago)
- Last Synced: 2024-08-01T16:56:13.147Z (5 months ago)
- Topics: swift, vim, vim-plugin
- Language: Vim script
- Size: 19.5 KB
- Stars: 19
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vim-swift
This is the repository for a new Swift plugin for Vim that aims to match Xcode in its level of detail and quality of highlighting.
![vim-swift screenshot](https://raw.githubusercontent.com/arzg/resources/master/vim-swift.png)
The colourscheme used in this screenshot is [vim-colors-xcode](https://github.com/arzg/vim-colors-xcode).
## Options
- `g:swiftHighlightIdents`: defaults to `0`, set to `1` to highlight user identifiers. This is off by default because Xcode doesn’t highlight as many identifiers as this does, and I personally find the extra colours overwhelming.
## Roadmap
- [ ] Indentation
- [ ] Highlight enum case definitions
- [ ] Highlight string interpolation delimiters
- [ ] Allow all Swift syntax groups in string interpolations