prog8/syntax-files/Vim
2022-04-13 00:27:35 +02:00
..
prog8_builtins.vim moved all *integer* builtin trig functions (sin8u, cos8u etc) as regular asmsubs in math module 2022-04-13 00:27:35 +02:00
prog8.vim added @requirezp to syntax files 2022-01-16 17:20:36 +01:00
readme.txt

Vim syntax highlighting definitions.

Created by Elektron72 on github. Thanks!


To install:
    Copy prog8.vim and prog8_builtins.vim into ~/.vim/syntax/. If you will never
    use highlighting for built-in functions and variables, you do not need to
    copy prog8_builtins.vim.

To enable:
    Type:
        :set ft=prog8
    to enable syntax highlighting in the open file.  Alternatively, if you would
    like to enable syntax highlighting for all .p8 files, add the following line
    to your .vimrc:
        au BufRead,BufNewFile *.p8 setfiletype prog8

    If you would like to disable highlighting for built-in functions and
    variables without deleting or renaming the file, add the following line to
    your .vimrc:
        let g:prog8_no_highlight_builtins = 1
    (The value doesn't actually matter, only that the variable is defined.)