https://github.com/benknoble/vim-synstax
Vim plugin for interacting with syntax highlighting
https://github.com/benknoble/vim-synstax
syntax-highlighting vim vim-plugin vim-syntax
Last synced: 5 months ago
JSON representation
Vim plugin for interacting with syntax highlighting
- Host: GitHub
- URL: https://github.com/benknoble/vim-synstax
- Owner: benknoble
- License: mit
- Created: 2018-05-11T16:16:50.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-06-13T20:43:00.000Z (almost 7 years ago)
- Last Synced: 2025-02-22T00:41:52.181Z (about 1 year ago)
- Topics: syntax-highlighting, vim, vim-plugin, vim-syntax
- Language: Vim script
- Size: 5.86 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vim-synstax
[](https://benknoble.github.io/status/finished/)
Vim plugin for interacting with syntax highlighting
It provides an autoloaded functional interface to syntax groups, like
```vim
synstax#UnderCursor()
```
## Installation
I recommend using [Pathogen](https://github.com/tpope/vim-pathogen) for managing
plugins.
Then it's just a quick
```bash
cd ~/.vim/bundle
git clone https://github.com/benknoble/vim-synstax.git
```
## Quickstart
Drop the following in your vimrc, enable syntax highlighting, and use your
mapping!
```vim
" Whatever mapping you want to use
nnoremap s :echo synstax#UnderCursor()
```
## Usage
Check out the docs (`:help synstax`).