https://github.com/htfy96/vim-chpl
Chapel syntax file for vim, extracted from official source
https://github.com/htfy96/vim-chpl
Last synced: 3 months ago
JSON representation
Chapel syntax file for vim, extracted from official source
- Host: GitHub
- URL: https://github.com/htfy96/vim-chpl
- Owner: htfy96
- License: vim
- Created: 2016-03-20T06:42:40.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-20T06:43:33.000Z (about 10 years ago)
- Last Synced: 2025-03-03T07:41:33.053Z (over 1 year ago)
- Language: VimL
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
*README* Chapel Mode for Vim
Chapel support for Vim has been designed for use with Vim versions 5.08 or
newer.
File Descriptions:
==================
*ftdetect/chpl.vim* -- Allows vim to auto-detect the syntax highlighting
scheme for .chpl files.
*ftplugin/chpl.vim* -- Useful editor settings supporting chpl, chpldoc
*syntax/chpl.vim* -- Syntax highlighting scheme for Chapel
*indent/chpl.vim* -- Indenting scheme for Chapel
*sample-vimrc* -- Sample .vimrc configuration file
Installation Instructions:
==========================
- Create a directory in the root of your home directory called ".vim"
$ mkdir $HOME/.vim
- Copy the contents of this directory to your ".vim" directory
$ cp -r * $HOME/.vim
- Modify your .vimrc configuration file to enable automatic filetype
detection, syntax highlighting, and indenting (this step is optional but
recommended).
$ vim $HOME/.vimrc
OR: Use the sample .vimrc file provided (be careful you don't overwrite
any existing .vimrc file!):
$ cp -i sample-vimrc .vimrc
Enabling Chapel Support in Vim:
===============================
If you have chosen to use the *sample-vimrc* file you can safely ignore this
section. Vim commands are denoted ": command". You can give these commands
manually whenever you start a vim session (with the ":") or they can also be
given automatically every time vim is started by putting them in your .vimrc
file (without the ":").
- Enable automatic filetype detection:
: filetype on
- Enable syntax highlighting scheme:
: syntax on
- Enable indenting scheme:
: filetype indent on
==========================================================================
vim:tw=78:ts=8:ft=help: