Debian Codegraph @

contrib/vim-gcc-dev/ftdetect/gcc-dev.vim

raw
1 " Vim file type detection rules for GCC development
2 "
3 " Copyright (C) 2018-2025 Free Software Foundation, Inc.
4 "
5 " This script is free software; you can redistribute it and/or modify
6 " it under the terms of the GNU General Public License as published by
7 " the Free Software Foundation; either version 3, or (at your option)
8 " any later version
9
10 augroup filetypedetect
11
12 au BufRead match.pd setf gcc-match
13
14 " Match RTL dump file names such as test.c.234r.pass-name
15 au BufRead *.[1-3][0-9][0-9]r.* setf gcc-rtl
16
17 " Match GIMPLE and IPA dump file names
18 au BufRead *.[0-2][0-9][0-9][ti].* setf gimple
19
20 augroup END