Fix broken ctags configuration location

Place ctags configuration in expected location.
It wasn't loaded due to wrong location.
Do not add typescript as I'm not using typescript anymore on a
professional level.
This commit is contained in:
Daniel Siepmann 2022-03-12 10:31:55 +01:00
parent fb03129a0a
commit 7c47df37fc
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
2 changed files with 1 additions and 22 deletions

View file

@ -126,7 +126,7 @@
};
xdg.configFile = {
"ctags/config".source = ./home/files/ctags;
"ctags/config.ctags".source = ./home/files/ctags;
"litecli/config".source = ./home/files/litecli;
"phpactor/phpactor.yml".source = ./home/files/phpactor.yml;
"tig/config".source = ./home/files/tig;

View file

@ -43,26 +43,6 @@
--regex-xml=/<!--\s*(.*)\s*-->/\1/c,comment,comments/
--regex-xml=/id="(.*)"/\1/i,id,ids/
# https://github.com/jb55/typescript-ctags/blob/master/.ctags
--langdef=typescript
--langmap=typescript:.ts
# From vim yats bundle
--regex-typescript=/^[ \t]*(export)?[ \t]*class[ \t]+([a-zA-Z0-9_]+)/\2/c,classes/
--regex-typescript=/^[ \t]*(export)?[ \t]*abstract class[ \t]+([a-zA-Z0-9_]+)/\2/a,abstract classes/
--regex-typescript=/^[ \t]*(export)?[ \t]*module[ \t]+([a-zA-Z0-9_]+)/\2/n,modules/
--regex-typescript=/^[ \t]*(export)?[ \t]*type[ \t]+([a-zA-Z0-9_]+)/\2/t,types/
--regex-typescript=/^[ \t]*(export)?[ \t]*namespace[ \t]+([a-zA-Z0-9_]+)/\2/n,modules/
--regex-typescript=/^[ \t]*(export)?[ \t]*function[ \t]+([a-zA-Z0-9_]+)/\2/f,functions/
--regex-typescript=/^[ \t]*export[ \t]+(var|const|let)[ \t]+([a-zA-Z0-9_]+)/\1/v,variables/
--regex-typescript=/^[ \t]*var[ \t]+([a-zA-Z0-9_]+)[ \t]*=[ \t]*function[ \t]*\(\)/\1/l,varlambdas/
--regex-typescript=/^[ \t]*(export)?[ \t]*(public|private)[ \t]+(static|readonly)?[ \t]*([a-zA-Z0-9_]+)/\4/m,members/
--regex-typescript=/^[ \t]*(export)?[ \t]*interface[ \t]+([a-zA-Z0-9_]+)/\2/i,interfaces/
--regex-typescript=/^[ \t]*(export)?[ \t]*(const)?[ \t]*enum[ \t]+([a-zA-Z0-9_]+)/\3/e,enums/
# Hack to add tests from jest to ctrlp
--regex-typescript=/^[ \t]*test\('(.*)'.*/\1/s,test/
--regex-typescript=/^[ \t]*test\.todo\('(.*)'.*/\1/o,testtodo/
--regex-typescript=/^[ \t]*describe\('(.*)'.*/\1/d,describe/
--langdef=apache
--langmap=apache:.conf
--regex-apache=/Server(Name|Alias) ([0-9a-zA-Z\._-]+)/\2/s,server,servers/
@ -91,7 +71,6 @@
--languages=+Vim
--languages=+xml
--languages=+html
--languages=+typescript
# --languages=+java
--languages=+yaml
# vim: commentstring=#%s ft=conf