From 3fe43ad0ef27d9040b99a6ff8793bc56ec194aed Mon Sep 17 00:00:00 2001 From: Thomas Jensen Date: Mon, 6 Jan 2020 14:38:29 +0100 Subject: [PATCH] Update website info on Vim syntax file #4 --- docs/install.html | 15 ++++++++++++--- download.html | 4 ++-- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/docs/install.html b/docs/install.html index 797f091..28cf62e 100644 --- a/docs/install.html +++ b/docs/install.html @@ -13,9 +13,10 @@ Although *boxes* can be useful when used on the command line, the more frequent your editor. So, how can *boxes* be tied to your editor? Example config file entries are featured so far for [Vim](https://www.vim.org/), [Jed](https://www.jedsoft.org/jed/), -[Emacs](https://www.gnu.org/software/emacs/), and [Sublime Text](https://www.sublimetext.com/). If you know how to to -this in other editors, please feel free to add that information to this page via GitHub or just let me know in the -GitHub issues. +[Emacs](https://www.gnu.org/software/emacs/), [Sublime Text](https://www.sublimetext.com/), and +[NotePad++](https://notepad-plus-plus.org/). If you know how to to this in other editors, please feel free to add that +information to this page via GitHub or just let me know in the GitHub issues. + ## Integration with Vim @@ -69,6 +70,14 @@ the start). autocmd BufEnter .vimrc*,.exrc nmap ,xc !!boxes -d vim-cmt -r autocmd BufEnter .vimrc*,.exrc vmap ,xc !boxes -d vim-cmt -r +**Syntax Highlighting in Vim** + +There is a [Vim syntax file](https://raw.githubusercontent.com/{{ site.github }}/master/boxes.vim) for *boxes* +configuration files, which you can install to have the *boxes* config colorized. On Windows, the file must be placed +in the directory *VIM_INSTALL_DIR\vimfiles\syntax*. +Activate by `set syn=boxes`. + +   ## Integration with Jed diff --git a/download.html b/download.html index 0d6ffc7..60de170 100644 --- a/download.html +++ b/download.html @@ -39,8 +39,8 @@ The current release is **version {{ site.currentVersion }}**. For older revision [pull request](https://github.com/{{ site.github }}/pulls){:target="_blank"} on GitHub. If this seems too complicated, or you are not an IT person, feel free to send email, too. Emails take much longer to be processed, though. - - A [vim syntax file](https://github.com/{{ site.github }}/issues/4){:target="_blank"} to enable the vim editor to - apply syntax highlighting to *boxes* config files (beta state). + - A [Vim syntax file](https://raw.githubusercontent.com/{{ site.github }}/master/boxes.vim){:target="_blank"} to + enable the Vim editor to apply syntax highlighting to *boxes* config files (beta state). ## Sources