sust-vim-syntax/syntax/sust.vim

14 lines
762 B
VimL
Raw Normal View History

2024-07-28 16:58:40 +00:00
if exists("b:current_syntax")
finish
endif
" syntax keyword Label args
2024-07-28 16:59:36 +00:00
syn match Number /[ \r\n\t\v\-]*\d*[ \r\n\t\v$]*/
2024-07-28 16:58:40 +00:00
syn keyword Special FUNC RETURN FUNC_END
2024-07-28 17:01:42 +00:00
syn keyword Statement INIT_VAR SET_VAR TEMP_VAR MOVE_VAR COPY_VAR DROP_VAR HAS_VAR LIST_SIZE TO_STRING ADD_INT ADD_FLOAT ADD_STR SUB_STR SUB_LIST FOR FOR_MAP FOR_LIST WHILE WRITE READ READ_ALL READ_STR READ_STR_ALL OPEN_FILE_IN OPEN_FILE_OUT OPEN_TCP_CONNECTION OPEN_TCP_LISTENER EQUALS MORE LESS AND OR IF HAS_STR HAS_ITEM HAS_ENTRY HAS_KEY HAS_VALUE HAS_OPTIONAL USE_FUNC SLEEP NEW_THREAD TO_BYTES TO_INTEGER TO_CHAR TO_BOOL TO_FLOAT GET_SYMBOL NOT
2024-07-28 16:58:40 +00:00
syn keyword Type bool string integer float char list map optinal in_stream out_stream
syntax match Comment /#.*$/
let b:current_syntax = "sust"