This commit is contained in:
bʰedoh₂ swé 2024-07-28 21:58:40 +05:00
parent 08726316eb
commit b7951c8f19
2 changed files with 14 additions and 13 deletions

View File

@ -1,13 +1 @@
if exists("b:current_syntax")
finish
endif
" syntax keyword Label args
syn match Number /[ \r\n\t\f\v\-]*\d*[ \r\n\t\f\v$]*/
syn keyword Special FUNC RETURN FUNC_END
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
syn keyword Type bool string integer float char list map optinal in_stream out_stream
syntax match Comment /#.*$/
let b:current_syntax = "labashki"
autocmd BufRead,BufNewFile *.sus set filetype=sust

13
syntax/sust.vim Normal file
View File

@ -0,0 +1,13 @@
if exists("b:current_syntax")
finish
endif
" syntax keyword Label args
syn match Number /[ \r\n\t\f\v\-]*\d*[ \r\n\t\f\v$]*/
syn keyword Special FUNC RETURN FUNC_END
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
syn keyword Type bool string integer float char list map optinal in_stream out_stream
syntax match Comment /#.*$/
let b:current_syntax = "sust"