Lines Matching +full:source +full:- +full:highlight
5 " WARNING: Read before you source in all these commands and macros! Some
9 " $ vim -u /path/to/llvm/utils/vim/vimrc
14 " A tab produces a 2-space indentation
19 " Highlight trailing whitespace and lines longer than 80 columns.
20 highlight LongLine ctermbg=DarkYellow guibg=DarkYellow
21 highlight WhitespaceEOL ctermbg=DarkYellow guibg=DarkYellow
24 au BufWinEnter * let w:m0=matchadd('LongLine', '\%>80v.\+', -1)
28 au BufWinEnter * let w:m1=matchadd('WhitespaceEOL', '\s\+$', -1)
30 au InsertEnter * let w:m2=matchadd('WhitespaceEOL', '\s\+\%#\@<!$', -1)
32 au InsertLeave * let w:m1=matchadd('WhitespaceEOL', '\s\+$', -1)
49 " Set a few indentation parameters. See the VIM help for cinoptions-values for
51 " common style in LLVM source.
56 " Highlight syntax in programming languages
102 " Clang code-completion support. This is somewhat experimental!
110 \ "-x","c++",
111 \ "-D__STDC_LIMIT_MACROS=1","-D__STDC_CONSTANT_MACROS=1",
112 \ "-Iinclude" ]
118 let l:start = col('.') - 1
119 while l:start > 0 && l:line[l:start - 1] =~ '\i'
120 let l:start -= 1
131 \ " -cc1 -code-completion-at=-:" . l:l . ":" . l:c
156 if l:spacecolonspace != -1
158 let l:value = l:value[:l:spacecolonspace-1]
163 if l:hidden != -1
165 let l:value = l:value[:l:hidden-1]
173 if l:pound != -1
174 let l:value = l:value[:l:pound-2]
180 if l:value[:strlen(a:base)-1] != a:base
226 " This to enables the somewhat-experimental clang-based