From 5090b7c86ab1105ae3f5265b36e9adead50c3bcb Mon Sep 17 00:00:00 2001 From: Jacob Jackson Date: Tue, 4 Dec 2018 21:11:01 -0800 Subject: [PATCH] Include default TabNine.toml in repository (closes #29) --- TabNine.toml | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 TabNine.toml diff --git a/TabNine.toml b/TabNine.toml new file mode 100644 index 0000000..1acc8f9 --- /dev/null +++ b/TabNine.toml @@ -0,0 +1,47 @@ +[language.rust] +command = "rls" +install = [ + ["rustup", "update"], + ["rustup", "component", "add", "rls-preview", "rust-analysis", "rust-src"], +] + +[language.javascript] +command = "flow" +args = ["lsp"] +install = [["npm", "install", "-g", "flow-bin"]] + +[language.html] +command = "html-languageserver" +args = ["--stdio"] +install = [["npm", "install", "-g", "vscode-html-languageserver-bin"]] + +[language.ocaml] +command = "ocaml-language-server" +args = ["--stdio"] +install = [["npm", "install", "-g", "ocaml-language-server"]] + +[language.python] +command = "pyls" +install = [["pip", "install", "python-language-server"]] + +[language.cpp] +command = "cquery" +args = ["--init={\"cacheDirectory\": \"${project_root}/.cquery_cache\"}"] + +[language.haskell] +command = "hie" +args = ["--lsp"] + +[language.go] +command = "go-langserver" +args = ["-mode", "stdio", "-gocodecompletion"] +install = [["go", "get", "-u", "github.com/sourcegraph/go-langserver"]] + +[language.dart] +command = "dart_language_server" +install = [["pub", "global", "activate", "dart_language_server"]] + +[language.ruby] +command = "solargraph" +args = ["stdio"] +install = [["gem", "install", "solargraph"]]