Skip to content

Commit

Permalink
perf(autocmd): add support for detecting .clangd and .clang-format fi…
Browse files Browse the repository at this point in the history
…le types
  • Loading branch information
liubang committed May 22, 2023
1 parent cfd0cc9 commit 16fb2b8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lua/lb/autocmd.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@

vim.filetype.add { -- {{{
filename = {
["BCLOUD"] = "bzl",
[".clangd"] = "yaml",
[".clang-format"] = "yaml",
[".bazelrc"] = "bzl",
["BUILD"] = "bzl",
["WORKSPACE"] = "bzl",
[".gitignore"] = "gitconfig",
["go.sum"] = "gosum",
["go.mod"] = "gomod",
["BUILD"] = "bzl",
["BCLOUD"] = "bzl",
["WORKSPACE"] = "bzl",
},
extension = {
log = "log",
Expand Down

0 comments on commit 16fb2b8

Please sign in to comment.