[PATCH] D98407: [clang-query] Add syntax highlight for clang-query scripts.
    David Blaikie via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Mar 11 14:12:01 PST 2021
    
    
  
dblaikie accepted this revision.
dblaikie added a comment.
This revision is now accepted and ready to land.
Don't know too much about it, but it looks plausible enough and should be pretty harmless, so might as well go in.
================
Comment at: llvm/utils/vim/ftdetect/clang-query.vim:1
+au BufRead,BufNewfile *.cq set filetype=clang-query
----------------
Is there precedent for this file extension? Any concerns about what it might overlap with?
================
Comment at: llvm/utils/vim/syntax/clang-query.vim:492
+	\ whileStmt
+	\ withInitializer
+
----------------
Guess there's no chance of generating this list from some other existing source-of-truth?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98407/new/
https://reviews.llvm.org/D98407
    
    
More information about the llvm-commits
mailing list