Copyright (c) 2019-2020 Cumulocity GmbH
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
The file monitorscript.vim contains syntax highlighting rules for editing Apama EPL (.mon) files in the VIM editor.
To install the syntax rules, copy the file to
$HOME/.vim/syntax/monitorscript.vim
and add the following lines to $HOME/.vim/filetype.vim
au BufRead,BufNewFile *.mon set filetype=monitorscript
au BufRead,BufNewFile *.evt set filetype=monitorscript
On windows these files are under %USERPROFILE%\vimfiles instead of $HOME/.vim.
The file monitorscript.el contains syntax highlighting rules for editing Apama EPL (.mon) files in the EMACS editor.
To install the syntax rules, copy the file to $HOME/.emacs.d/monitorscript.el and add the following lines to $HOME/.emacs
(add-to-list 'load-path "~/.emacs.d/")
(load "monitorscript")
These tools are provided as-is and without warranty or support. They do not constitute part of the Cumulocity products. Users are free to use, fork and modify them, subject to the license agreement. While Cumulocity welcomes contributions, we cannot guarantee to include every contribution in the main project.
Contact us at https://apamacommunity.com if you have any questions.