Skip to content

Commit

Permalink
perf(configs): exclude non-source code filetypes
Browse files Browse the repository at this point in the history
  • Loading branch information
linrongbin16 committed Jan 10, 2024
1 parent d65d408 commit b893fcc
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions lua/gentags/configs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,34 @@ local Defaults = {
ctags = {
"--tag-relative=never",

-- exclude logs
"--exclude=*.log",

-- exclude vcs
"--exclude=*.git",
"--exclude=*.svg",
"--exclude=*.hg",
"--exclude=*.log",

-- exclude blob/binary files
-- exclude nodejs
"--exclude=node_modules",

-- exclude tags/cscope
"--exclude=*tags*",
"--exclude=*cscope.*",

-- exclude python
"--exclude=*.pyc",

-- exclude jvm class
"--exclude=*.class",

-- exclude VS project generated
"--exclude=*.pdb",
"--exclude=*.sln",
"--exclude=*.csproj",
"--exclude=*.csproj.user",

-- exclude blobs
"--exclude=*.exe",
"--exclude=*.dll",
"--exclude=*.mp3",
Expand Down

0 comments on commit b893fcc

Please sign in to comment.