Skip to content

Commit b9b0468

Browse files
committed
added indent and highlighting for class
1 parent 8860bfa commit b9b0468

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

indent/pzc.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ endif
1111
let b:did_indent = 1
1212

1313
" PZC indenting is C indenting which i built-in, thus this is very simple
14-
setlocal smartindent cinwords=if,else,switch,FOR,while,do
14+
setlocal smartindent cinwords=if,else,switch,FOR,while,do,class
1515
setlocal smartindent
1616
setlocal cindent
1717

syntax/pzc.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ syn keyword pazcalStatement false true NULL AND OR NOT
1919
syn keyword pazcalStatement typedef
2020
syn keyword pazcalStatement extern PRIVATE const
2121
syn keyword pazcalStatement PROGRAM PROC FUNC nextgroup=pazcalFunction skipwhite
22-
syn keyword pazcalType int bool char REAL enum struct union unsigned long
22+
syn keyword pazcalType int bool char REAL enum struct union unsigned long class
2323
syn match pazcalFunction "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained
2424
syn keyword pazcalFunction WRITE WRITELN READ_INT READ_REAL SKIP_LINE FORM NEW DELETE
2525
syn keyword pazcalMFunction abs pow sqrt log exp floor ceil MOD MIN MAX

0 commit comments

Comments
 (0)