All Projects → rhysd → vim-goyacc

rhysd / vim-goyacc

Licence: other
Vim filetype support for goyacc

Programming Languages

Vim Script
2826 projects

Projects that are alternatives of or similar to vim-goyacc

gh.vim
Vim/Neovim plugin for GitHub
Stars: ✭ 149 (+577.27%)
Mutual labels:  vim-plugin
stan-vim
A Vim plugin for the Stan probabilistic programming language.
Stars: ✭ 41 (+86.36%)
Mutual labels:  vim-plugin
bufstop
Fast and efficient buffer switching for Vim
Stars: ✭ 82 (+272.73%)
Mutual labels:  vim-plugin
vim-nicomment
[Unmaintained] Flow comments on your Vim
Stars: ✭ 16 (-27.27%)
Mutual labels:  vim-plugin
VimConfig
Configuration files for Vi-IMproved.
Stars: ✭ 23 (+4.55%)
Mutual labels:  vim-plugin
mpi
minimal (n)vim plugins - icons (Under 200 LOC)
Stars: ✭ 32 (+45.45%)
Mutual labels:  vim-plugin
move-less
vim plugin for faster navigation without moving the cursor position (look up/down/middle; scroll up/down/both, fold two distance places permanent together)
Stars: ✭ 36 (+63.64%)
Mutual labels:  vim-plugin
vim-gol
Vim plugin that turns your text into Game of Life world
Stars: ✭ 15 (-31.82%)
Mutual labels:  vim-plugin
vim-bettergrep
A better way to grep in vim.
Stars: ✭ 15 (-31.82%)
Mutual labels:  vim-plugin
vim-js-file-import
Import/require files in javascript and typescript with single button!
Stars: ✭ 130 (+490.91%)
Mutual labels:  vim-plugin
vim-jqplay
Run jq interactively in Vim
Stars: ✭ 56 (+154.55%)
Mutual labels:  vim-plugin
vim-inccomplete
Vim plugin for #include directive completion.
Stars: ✭ 14 (-36.36%)
Mutual labels:  vim-plugin
vim-ormolu
Plugin for formatting Haskell source code
Stars: ✭ 35 (+59.09%)
Mutual labels:  vim-plugin
vim-backscratch
Small scratches for Vim, feels nice
Stars: ✭ 20 (-9.09%)
Mutual labels:  vim-plugin
tabnine-vim
Vim client for TabNine. https://vimawesome.com/plugin/tabnine-vim
Stars: ✭ 652 (+2863.64%)
Mutual labels:  vim-plugin
gentoo-syntax
[MIRROR] Gentoo Ebuild, Eclass, GLEP, ChangeLog and Portage Files syntax highlighting, filetype and indent settings for Vim
Stars: ✭ 22 (+0%)
Mutual labels:  vim-plugin
nerdtree-visual-selection
Defines commands that will work on files inside a Visual selection
Stars: ✭ 48 (+118.18%)
Mutual labels:  vim-plugin
vim
📝 minimalistic vimrc based on KISS principle @vim
Stars: ✭ 46 (+109.09%)
Mutual labels:  vim-plugin
vim-eightheader
Vim plugin: Easily create custom headlines, foldtext, toc, etc
Stars: ✭ 17 (-22.73%)
Mutual labels:  vim-plugin
vim-tmuxlike
A vim plugin that mimics the actions of tmux. 像操作Tmux一样操作Vim
Stars: ✭ 20 (-9.09%)
Mutual labels:  vim-plugin

Vim Filetype Support for goyacc

vim-goyacc is a filetype support for goyacc.

It provides standard YACC syntax highlight and Go syntax highlight inside semantic action {...}. Default YACC syntax highlight attempts to highlight the semantic action as C or C++, though.

And this also provides Go's indentation using runtime/indent/go.vim. It provides more pleasant auto indentation as editing Go source.

screen shot

Files whose names end with .go.y are detected as a file for goyacc. If you want to detect files with your own rule, please write your autocmd in your vimrc.

e.g.

" All files end with .y are detected as goyacc parser definition file.
autocmd BufNewFile,BufReadPost *.y setlocal filetype=goyacc

Or write mode line at the bottom of your file as below.

/* vim: set ft=goyacc: */

How to Install

If you use Vim's default package management, please refer :help load-plugins. Clone this repository with git to proper location in your filesystem.

If you use your favorite Vim plugin manager like vim-plug, please follow the instruction in its documentation.

License

This plugin was derived from Vim's standard YACC filetype support. Hence this plugin is provided with the same license as Vim (Vim license). Please see :help license in Vim for more detail.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].