diff options
Diffstat (limited to 'doc/colm/0_02_vim_syntax.adoc')
-rw-r--r-- | doc/colm/0_02_vim_syntax.adoc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/colm/0_02_vim_syntax.adoc b/doc/colm/0_02_vim_syntax.adoc new file mode 100644 index 00000000..168747d4 --- /dev/null +++ b/doc/colm/0_02_vim_syntax.adoc @@ -0,0 +1,19 @@ +Vim syntax +========== + +To activatecd colm syntax highlighting in vi + + cp /path_to_extracted_files/lcolm.vim ~/.vim/syntax + +[source,vim] +.~/.vimrc +---- +" Work with colm +au BufRead,BufNewFile *.lm set filetype=colm +---- + +When we open an '.lm' file, we will see some colors + +---- +vi src/colm.lm +---- |