Merge remote-tracking branch 'listentolist/pascal-filetype'
This commit is contained in:
commit
9cf79bfd1e
|
@ -181,7 +181,7 @@ evaluate-commands %sh¶
|
|||
|
||||
# numbers (https://www.freepascal.org/docs-html/ref/refse6.html)
|
||||
add-highlighter shared/pascal/$r/decimal regex \b\d+([eE][+-]?\d+)?\b 0:value
|
||||
add-highlighter shared/pascal/$r/hex regex \\$[\da-fA-F]+\b 0:value
|
||||
add-highlighter shared/pascal/$r/hex regex \\\$[\da-fA-F]+\b 0:value
|
||||
add-highlighter shared/pascal/$r/octal regex &[0-7]+\b 0:value
|
||||
add-highlighter shared/pascal/$r/binary regex \%[01]+\b 0:value
|
||||
add-highlighter shared/pascal/$r/char regex '#\d+\b' 0:value
|
||||
|
|
|
@ -96,7 +96,7 @@ hook global BufSetOption filetype=(ocaml|coq) %{
|
|||
}
|
||||
|
||||
hook global BufSetOption filetype=((free|object)?pascal|delphi) %{
|
||||
set-option buffer comment-line '//'
|
||||
set-option buffer comment_line '//'
|
||||
set-option buffer comment_block_begin '{'
|
||||
set-option buffer comment_block_end '}'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user