1" Vim filetype plugin file 2" Language: MLIR Assembly 3" Maintainer: The MLIR team 4 5if exists("b:did_ftplugin") 6 finish 7endif 8let b:did_ftplugin = 1 9 10setlocal softtabstop=2 shiftwidth=2 11setlocal expandtab 12setlocal comments+=:// 13setlocal commentstring=//\ %s 14" We treat sequences of the following characters as forming 'keywords', with 15" the aim of easing movement around MLIR identifiers: 16" * identifier prefixes: '%' and '@' (@-@) 17" * all characters where isalpha() returns TRUE (@) 18" * the digits 0-9 (48-57) 19" * other characters that may form identifiers: '_', '.', '-', '$' 20" Comment this out to restore the default behaviour 21setlocal iskeyword=%,@-@,@,48-57,_,.,-,$ 22