fork of https://github.com/sourcegraph/zoekt
0

Configure Feed

Select the types of activity you want to include in your feed.

ctags: use same command line flags as sourcegraph

Need to update the list of languages to be in sync with sourcegraph.

Change-Id: I17b25236ea762b57321a196a019c6d85fc8ede6f

+6 -2
+6 -2
ctags/json.go
··· 45 45 // opt = "sandbox" 46 46 // } 47 47 48 - cmd := exec.Command(bin, "--_interactive="+opt, "--fields=*", 49 - "--languages=Basic,C,C#,C++,Clojure,Cobol,CSS,CUDA,D,Elixir,elm,Erlang,Go,haskell,Java,JavaScript,kotlin,Lisp,Lua,MatLab,ObjectiveC,OCaml,Perl,Perl6,PHP,Protobuf,Python,R,Ruby,Rust,scala,Scheme,Sh,swift,Tcl,typescript,tsx,Verilog,Vim", 48 + // Sourcegraph default 49 + patternLengthLimit := 255 50 + 51 + // Keep in sync with ctags command in sourcegraph 52 + cmd := exec.Command(bin, "--_interactive="+opt, "--fields=*", fmt.Sprintf("--pattern-length-limit=%d", patternLengthLimit), 53 + "--languages=Basic,C,C#,C++,Clojure,Cobol,CSS,CUDA,D,Elixir,elm,Erlang,Go,GraphQL,Groovy,haskell,Java,JavaScript,Jsonnet,kotlin,Lisp,Lua,MatLab,ObjectiveC,OCaml,Pascal,Perl,Perl6,PHP,Protobuf,Python,R,Ruby,Rust,scala,Scheme,Sh,swift,SystemVerilog,Tcl,Thrift,typescript,tsx,Verilog,VHDL,Vim", 50 54 "--map-CSS=+.scss", "--map-CSS=+.less", "--map-CSS=+.sass", 51 55 ) 52 56 in, err := cmd.StdinPipe()