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