Skip to content

Commit

Permalink
added indent and highlighting for class
Browse files Browse the repository at this point in the history
  • Loading branch information
mastergreg committed Jan 18, 2017
1 parent 8860bfa commit b9b0468
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion indent/pzc.vim
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ endif
let b:did_indent = 1

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

Expand Down
2 changes: 1 addition & 1 deletion syntax/pzc.vim
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ syn keyword pazcalStatement false true NULL AND OR NOT
syn keyword pazcalStatement typedef
syn keyword pazcalStatement extern PRIVATE const
syn keyword pazcalStatement PROGRAM PROC FUNC nextgroup=pazcalFunction skipwhite
syn keyword pazcalType int bool char REAL enum struct union unsigned long
syn keyword pazcalType int bool char REAL enum struct union unsigned long class
syn match pazcalFunction "\%([^[:cntrl:][:space:][:punct:][:digit:]]\|_\)\%([^[:cntrl:][:punct:][:space:]]\|_\)*" display contained
syn keyword pazcalFunction WRITE WRITELN READ_INT READ_REAL SKIP_LINE FORM NEW DELETE
syn keyword pazcalMFunction abs pow sqrt log exp floor ceil MOD MIN MAX
Expand Down

0 comments on commit b9b0468

Please sign in to comment.